Astra_Ext_White_Label_Markup::remove_themes_section( object $wp_customize )
Allow to remove the theme switch in the customizer as the theme name cannot be edited
Description
Parameters
- $wp_customize
-
(object) (Required) customizer object.
Source
File: classes/class-astra-ext-white-label-markup.php
public static function remove_themes_section( $wp_customize ) { $wp_customize->remove_panel( 'themes' ); }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
1.6.12 | Introduced. |