_wp_auto_add_pages_to_menu


_wp_auto_add_pages_to_menu ( $new_status, $old_status, $post )

Access:
  • private
Parameters:
  • (string) $new_status The new status of the post object.
  • (string) $old_status The old status of the post object.
  • (object) $post The post object being transitioned from one status to another.
Defined at:

Description

Automatically add newly published page objects to menus with that as an option.

Related Functions

wp_page_menu, wp_admin_bar_edit_menu, wp_admin_bar_site_menu, wp_widgets_add_menu, _add_post_type_submenus

Top Google Results

User discussions

wpseek mobile