/** * Fires as an admin screen or script is being initialized. * * Note, this does not just run on user-facing admin screens. * It runs on admin-ajax.php and admin-post.php as well. * * This is roughly analogous to the more general {@see 'init'} hook, which fires earlier. * * @since 2.5.0 */do_action('admin_init');if(isset($plugin_page)){if(!empty($typenow)){$the_parent=$pagenow.'?post_type='.$typenow;}else{$the_parent=$pagenow;}if(!$page_hook=get_plugin_page_hook($plugin_page,$the_parent)){$page_hook=get_plugin_page_hook($plugin_page,$plugin_page);