The parent page drop down menu lists all published pages on your site. To edit that you would go to the Pages item in the admin menu, which will list all with options to edit, delete, etc…
Thread Starter
pg
(@dethredic)
I know it lists all pages, and I don’t want to delete/unpublish my existing pages. I just want to find the code that generates that list of “all pages” so that I can add a filter to it
The page-atttributes meta box does not offer a filter, but wp_dropdown_pages() offers one filter on output
apply_filters(‘wp_dropdown_pages’, $output);
Alternatively, remove the default meta box and add your own.
Thread Starter
pg
(@dethredic)
Yes, that is what I want to do. Where is that code located?
/wp-includes/post-template.php