A WordPress-centric search engine for devs and theme authors



disable_formats_dropdown ›

Since5.2.0
Deprecatedn/a
apply_filters( 'disable_formats_dropdown', false )
Parameters:
  • (bool) $disable Whether to disable the drop-down. Default false.
    Required: Yes
Defined at:
Codex:

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





Source

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