disable_months_dropdown, false, $post_type

disable_months_dropdown, false, $post_type

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: 7.0.3

apply_filters('disable_months_dropdown, false, $post_type') is found 1 times:

  • /wp-admin/includes/class-wp-list-table.php line 711
    		 *
    		 * @param bool   $disable   Whether to disable the drop-down. Default false.
    		 * @param string $post_type The post type.
    		 */
    		if ( apply_filters( 'disable_months_dropdown', false, $post_type ) ) {
    			return;
    		}
    
    		/**
    		 * Filters whether to short-circuit performing the months dropdown query.
    		 *