I need to hide, and not to remove the attributes meta box in the backend.
The following code is removing the metabox:
function hide_meta_box_attributes() {
remove_meta_box('pageparentdiv', 'post', 'normal'); }
add_filter('add_meta_boxes', 'hide_meta_boxes_attributes');
The problem is, that I am running hierarchical posts, which means I need to have the possibility to have posts and subposts which is enabled by this metabox. When I am removing the metabox, the functionality is not working anymore. But for my authors, I need to hide these attributes metabox.
Anybody has a clue how to get a solution on this?