D
D
Danila2015-10-01 12:42:37
WordPress
Danila, 2015-10-01 12:42:37

Editing metabox(postbox-container 1) in Wordpress?

Hello.
A question of this nature. Maybe someone did this.
There is a metabox in the wp admin ('formatdiv' - formats metabox, refers to postbox container 1.) How to edit it, exactly it, because I'm already thinking of demolishing it. Prescribed actions with the function of adding the necessary records and deleting the ones that are not needed, but it doesn’t work out that way. For now, I've turned it off.

function customize_meta_boxes() {
remove_meta_box('formatdiv','post','normal');
}
add_action('admin_init','customize_meta_boxes');

It already seems to me that it’s easier to write your own metabox with similar functionality, but I don’t want to cycle,
PS It’s noted on the screen what exactly.
0bab5a1fa60a474bad55218bb001529c.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mr Crabbz, 2015-10-01
@lega111

To edit this list, you need to do something like this in functions: https://codex.wordpress.org/Post_Formats

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question