I want to filter the title of the metabox.
I found this filter, rwmb_normalize_meta_box_id_meta_box
, in the documentation but cannot find it within the source code even when I search for rwmb_normalize
.
https://docs.metabox.io/filters/#rwmb_normalize_meta_box_id_meta_box
Is this filter still available or is the documentation out of date?
How can I filter the title of a metabox?
Like this?
add_filter("rwmb_normalize_{$metabox_id}_meta_box", 'prefix_change_meta_box_title' ), 10, 1 );
function prefix_change_meta_box_title( $meta_box ) {
$meta_box['title'] = esc_html__( 'New title', 'text-domain' );
return $meta_box;
}