wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



nav_menu_items_{$post_type_name}_recent › Filtr WordPress Hooks

Od4.9.0
Przestarzałyn/a
› $most_recent = apply_filters(
Parametry: (4)
  • () most_recent An array of post objects being listed.
    Wymagane: Tak
  • () args An array of `WP_Query` arguments for the meta box.
    Wymagane: Tak
  • () box Arguments passed to `wp_nav_menu_item_post_type_meta_box()`.
    Wymagane: Tak
  • () recent_args An array of `WP_Query` arguments for 'Most Recent' tab.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the posts displayed in the 'Most Recent' tab of the current post type's menu items meta box.

The dynamic portion of the hook name, `$post_type_name`, refers to the post type name. Possible hook names include: - `nav_menu_items_post_recent` - `nav_menu_items_page_recent`




Źródło

$most_recent = apply_filters(