wpseek.com
A WordPress-centric search engine for devs and theme authors
media_library_months_with_files › WordPress Filter Hooks
Since4.7.4
Deprecatedn/a
› apply_filters( 'media_library_months_with_files', null )
| Parameters: |
|
| Defined at: |
|
| Codex: |
Allows overriding the list of months displayed in the media library.
By default (if this filter does not return an array), a query will be run to determine the months that have media items. This query can be expensive for large media libraries, so it may be desirable for sites to override this behavior.Related Functions: get_font_library_menu_items, register_font_library_menu_item, media_upload_file, media_upload_library_form, single_month_title, get_font_library_routes