Lines:
1 to 34 of 34
<?php /** * Genesis Framework. * * WARNING: This file is part of the core Genesis Framework. DO NOT edit this file under any circumstances. * Please do all modifications in the form of a child theme. * * @package Genesis\Admin * @author StudioPress * @license GPL-2.0-or-later * @link https://my.studiopress.com/themes/genesis/ */ /** * Fires before admin menu items are registered. * * Hook here (or later) to use the Genesis Admin classes, to be sure * they have been included before use. * * @since 1.8.0 */ do_action( 'genesis_admin_init' ); add_action( 'after_setup_theme', 'genesis_add_admin_menu' ); /* function genesis_add_admin_menu() – Add Genesis top-level item in admin menu. */ add_action( 'genesis_admin_menu', 'genesis_add_admin_submenus' ); /* function genesis_add_admin_submenus() – Add submenu items under Genesis item in admin menu. */ add_action( 'admin_menu', 'genesis_add_cpt_archive_page', 5 ); /* function genesis_add_cpt_archive_page() – Add archive settings page to relevant custom post type registrations. */
Called by
Invoked by
Calls
Call hooks
1 to 1 of 1