_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.
  • (WP_Post) 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_autoload_values_to_autoload, wp_page_menu, wp_widgets_add_menu, wp_admin_bar_edit_menu, wp_default_packages_vendor

Top Google Results

User discussions

wpseek mobile