Astra_Ext_White_Label_Markup::theme_customizer( object $instance )
White labels the builder theme using the customize_render_section
hook to cover areas that we can’t access like the Customizer.
Description
Parameters
- $instance
-
(object) (Required) Astra Object.
Return
(string) Only return if theme branding has been filled up.
Source
File: classes/class-astra-ext-white-label-markup.php
public function theme_customizer( $instance ) { if ( 'Astra' == $instance->title ) { if ( false !== self::get_whitelabel_string( 'astra', 'name', false ) ) { $instance->title = self::get_whitelabel_string( 'astra', 'name', false ); return $instance->title; } } }
Expand full source code Collapse full source code View on Trac