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



disable_months_dropdown ›

Desde4.2.0
Obsoleton/a
apply_filters( 'disable_months_dropdown', false, $post_type )
Parâmetros: (2)
  • (bool) $disable Whether to disable the drop-down. Default false.
    Required: Yes
  • (string) $post_type The post type.
    Required: Yes
Definido em:
Codex:

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





Fonte

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