wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



disable_formats_dropdown › WordPress Filter Hooks

Seit5.5.0
Veraltetn/v
apply_filters( 'disable_formats_dropdown', false, $post_type )
Parameter: (2)
  • (bool) $disable Whether to disable the drop-down. Default false.
    Erforderlich: Ja
  • (string) $post_type Post type slug.
    Erforderlich: Ja
Definiert in:
Codex:

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





Quellcode

if ( apply_filters( 'disable_formats_dropdown', false, $post_type ) ) {