wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



nav_menu_meta_box_object › Hooks de Filtros WordPress

Desde3.0.0
Obsoleton/a
apply_filters( 'nav_menu_meta_box_object', $post_type )
Parâmetros:
  • (WP_Post_Type|false) $post_type The current object to add a menu items meta box for.
    Required: Yes
Definido em:
Codex:

Filters whether a menu items meta box will be added for the current object type.

If a falsey value is returned instead of an object, the menu items meta box for the current meta box object will not be added.





Fonte

$post_type = apply_filters( 'nav_menu_meta_box_object', $post_type );