Custom Fields
Re-Envisioned
Support General Password Protection and metaboxes Reply To: Password Protection and metaboxes

#12614

Anh Tran
Keymaster

Hi Ale,

This depends on how you display custom fields’ values in the front end. You need to change your code to check the post status, like this:

if ( post_password_required() ) {
    echo 'Nothing here';
} else {
    echo rwmb_meta( 'field_id' );
}