_wp_auto_add_pages_to_menu
- %1$s is private and should not be used in themes or plugins directly.
_wp_auto_add_pages_to_menu ( $new_status, $old_status, $post )
Access:Parameters:- (string) new_status The new status of the post object.
- (string) old_status The old status of the post object.
- (WP_Post) post The post object being transitioned from one status to another.
Defined at: - Introduced in WordPress: 3.0.0
- Deprecated in WordPress: —
Description
Automatically add newly published page objects to menus with that as an option.