Creating new page with pre-defined parent page
You are right on the mark with GET, that would probably be easiest to make use of. Try this: Add_Child_Page::on_load(); class Add_Child_Page { static function on_load() { add_action( ‘init’, array( __CLASS__, ‘init’ ) ); add_action( ‘admin_init’, array( __CLASS__, ‘admin_init’ ) ); } static function init() { add_action( ‘admin_bar_menu’, array( __CLASS__, ‘admin_bar_menu’ ), 90 ); } … Read more