- %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 )
- (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.
- Introduced in WordPress: 3.0.0
- Deprecated in WordPress: —
Automatically add newly published page objects to menus with that as an option.