Page Builder Framework adds up to 3 metaboxes to each create & edit post screen.
In this post we are showing you how to remove those metaboxes.
function prefix_remove_pbf_metaboxes() { remove_meta_box( 'wpbf' , 'post' , 'side' ); remove_meta_box( 'wpbf_header' , 'post' , 'side' ); remove_meta_box( 'wpbf_sidebar' , 'post' , 'side' ); // remove_meta_box( 'wpbf' , 'your_cpt' , 'side' ); // remove_meta_box( 'wpbf_header' , 'your_cpt' , 'side' ); // remove_meta_box( 'wpbf_sidebar' , 'your_cpt' , 'side' ); } add_action( 'admin_head' , 'prefix_remove_pbf_metaboxes' );
The code example above will remove the metaboxes from all posts. You can repeat that process for all other post types available on your website.
The code should be placed in the child themes functions.php file.