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' );
		}

Changelog

Changelog
Version Description
1.6.12 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.