Astra_Ext_White_Label_Markup::menu_options( string $actions )
Menu Options
Description
Parameters
- $actions
-
(string) (Required) Actions.
Return
(array)
Source
File: classes/class-astra-ext-white-label-markup.php
/**
* Allow to remove the theme switch in the customizer as the theme name cannot be edited
*
* @since 1.6.12
* @param object $wp_customize customizer object.
*/
public static function remove_themes_section( $wp_customize ) {
$wp_customize->remove_panel( 'themes' );
}
/**
* Filter to update Theme Author Link
*
* @param array $args Theme Author Detail Array.
* @return array
Expand full source code Collapse full source code View on Trac