Admin_init not working in submenu page

(Updated answer) Looking at the simplified plugin source, the following works: // In class-init-test.php public function __construct(){ add_action( ‘admin_init’, array( $this, ‘page_init’ ) ); … } because when that add_action() is called, the admin_init action is not yet fired. Hence Init_test::page_init() gets called. However, the following doesn’t work because admin_init has already been fired by … Read more