Now suppose, you have to remove a core meta box from the edit screen? How would you proceed? Before the introduction of the block editor, the process was same as removing a custom meta box, using the remove_meta_box function. You can remove a custom meta box using this function – remove_meta_box( $id, $screen, $context ) add_action( 'add_meta_boxes', 'callback_add_meta_boxes' ) We can add more boxes using add_meta_box and using the hook add_meta_boxes. These are default meta boxes for a post, provided by WordPress core. In this video, I am going to show you How to Install WordPress in cPanel Manually Step by Step. Edit a post and these boxes show up on the right. The post edit screen in WordPress has several boxes that show additional parameters that the user can edit/update.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |