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

#13745
Anh TranAnh Tran
Keymaster

You can modify the readonly attribute with the value like this:

'readonly' => ! is_admin(),

So, on the admin, it's true, on the front end - false.