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



disable_categories_dropdown ›

Desde4.6.0
Obsoleton/a
apply_filters( 'disable_categories_dropdown', false, $post_type )
Parâmetros: (2)
  • (bool) $disable Whether to disable the categories drop-down. Default false.
    Required: Yes
  • (string) $post_type Post type slug.
    Required: Yes
Definido em:
Codex:

Filters whether to remove the 'Categories' drop-down from the post list table.





Fonte

if ( false !== apply_filters( 'disable_categories_dropdown', false, $post_type ) ) {