Meta Box
Support Forum
Support › MB Frontend Submission › ✅Enable Edit For admin while on Front end read only metabox › Reply To: Enable Edit For admin while on Front end read only metabox
You can modify the readonly attribute with the value like this:
readonly
'readonly' => ! is_admin(),
So, on the admin, it's true, on the front end - false.
true
false