apply_filters( "nav_menu_items_{$post_type_name}_recent", array $most_recent, array $args, array $box )

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


Description Description

The dynamic portion of the hook name, $post_type_name, refers to the post type name.


Parameters Parameters

$most_recent

(array) An array of post objects being listed.

$args

(array) An array of WP_Query arguments.

$box

(array) Arguments passed to wp_nav_menu_item_post_type_meta_box().


Top ↑

Source Source

File: wp-admin/includes/nav-menu.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
4.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.