/** * Admin functions - Functions that add some functionality to WordPress admin panel * * @package Astra * @since 1.0.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } /** * Register menus */ if ( ! function_exists( 'astra_register_menu_locations' ) ) { /** * Register menus * * @since 1.0.0 */ function astra_register_menu_locations() { /** * Primary Menus */ register_nav_menus( array( 'primary' => esc_html__( 'Primary Menu', 'astra' ), ) ); if ( true === Astra_Builder_Helper::$is_header_footer_builder_active ) { /** * Register the Secondary & Mobile menus. */ register_nav_menus( array( 'secondary_menu' => esc_html__( 'Secondary Menu', 'astra' ), 'mobile_menu' => esc_html__( 'Off-Canvas Menu', 'astra' ), ) ); $component_limit = defined( 'ASTRA_EXT_VER' ) ? Astra_Builder_Helper::$component_limit : Astra_Builder_Helper::$num_of_header_menu; for ( $index = 3; $index <= $component_limit; $index++ ) { if ( ! is_customize_preview() && ! Astra_Builder_Helper::is_component_loaded( 'menu-' . $index ) ) { continue; } register_nav_menus( array( 'menu_' . $index => esc_html__( 'Menu ', 'astra' ) . $index, ) ); } /** * Register the Account menus. */ register_nav_menus( array( 'loggedin_account_menu' => esc_html__( 'Logged In Account Menu', 'astra' ), ) ); } /** * Footer Menus */ register_nav_menus( array( 'footer_menu' => esc_html__( 'Footer Menu', 'astra' ), ) ); } } add_action( 'init', 'astra_register_menu_locations' ); https://p4p.work/post-sitemap1.xml 2025-11-08T04:35:23+00:00 https://p4p.work/post-sitemap2.xml 2025-11-08T04:15:02+00:00 https://p4p.work/post-sitemap3.xml 2025-11-08T04:14:53+00:00 https://p4p.work/post-sitemap4.xml 2025-11-07T23:38:20+00:00 https://p4p.work/post-sitemap5.xml 2025-11-07T23:04:56+00:00 https://p4p.work/post-sitemap6.xml 2025-11-07T23:00:53+00:00 https://p4p.work/post-sitemap7.xml 2025-11-07T22:40:21+00:00 https://p4p.work/post-sitemap8.xml 2025-11-07T22:22:53+00:00 https://p4p.work/post-sitemap9.xml 2025-11-07T21:33:32+00:00 https://p4p.work/post-sitemap10.xml 2025-11-07T21:29:12+00:00 https://p4p.work/post-sitemap11.xml 2025-11-07T21:27:14+00:00 https://p4p.work/post-sitemap12.xml 2025-11-07T21:13:48+00:00 https://p4p.work/post-sitemap13.xml 2025-11-07T21:10:37+00:00 https://p4p.work/post-sitemap14.xml 2025-11-07T21:08:17+00:00 https://p4p.work/post-sitemap15.xml 2025-11-07T21:05:21+00:00 https://p4p.work/post-sitemap16.xml 2025-11-07T21:01:53+00:00 https://p4p.work/post-sitemap17.xml 2025-11-07T20:22:00+00:00 https://p4p.work/post-sitemap18.xml 2025-11-07T20:13:13+00:00 https://p4p.work/post-sitemap19.xml 2025-11-07T20:01:59+00:00 https://p4p.work/post-sitemap20.xml 2025-11-07T19:51:01+00:00 https://p4p.work/post-sitemap21.xml 2025-11-07T19:30:46+00:00 https://p4p.work/post-sitemap22.xml 2025-11-07T19:30:46+00:00 https://p4p.work/post-sitemap23.xml 2025-11-07T19:30:46+00:00 https://p4p.work/post-sitemap24.xml 2025-11-07T19:30:45+00:00 https://p4p.work/post-sitemap25.xml 2025-11-07T19:30:45+00:00 https://p4p.work/post-sitemap26.xml 2025-11-07T18:11:02+00:00 https://p4p.work/post-sitemap27.xml 2025-11-07T17:36:44+00:00 https://p4p.work/post-sitemap28.xml 2025-11-07T17:31:25+00:00 https://p4p.work/post-sitemap29.xml 2025-11-07T17:29:47+00:00 https://p4p.work/post-sitemap30.xml 2025-11-07T17:24:33+00:00 https://p4p.work/post-sitemap31.xml 2025-11-07T17:23:47+00:00 https://p4p.work/post-sitemap32.xml 2025-11-07T17:12:18+00:00 https://p4p.work/post-sitemap33.xml 2025-11-07T17:05:20+00:00 https://p4p.work/post-sitemap34.xml 2025-11-07T17:03:59+00:00 https://p4p.work/post-sitemap35.xml 2025-11-07T15:37:51+00:00 https://p4p.work/page-sitemap.xml 2025-10-24T23:14:20+00:00 https://p4p.work/category-sitemap.xml 2025-11-08T04:35:23+00:00