Custom Fields
Re-Envisioned
Support MB Frontend Submission Change Post Title Label for Particular Frontend Form? Reply To: Change Post Title Label for Particular Frontend Form?

#9476

thomastran40
Participant

This changes the particular post title label name on the form which defaults to “Title”

I figured it out with the following.

add_filter( 'rwmb_frontend_post_title', function( $field ) {
if ( is_page( "Add a Website" ) ) {
    $field['required'] = true;
    $field['name'] = 'Website Name:';
    return $field;
}
} );