Astra_Ext_White_Label_Markup::show_branding()
Show white label tab.
Description
Return
(bool) true | false
Source
File: classes/class-astra-ext-white-label-markup.php
public static function show_branding() {
$show_branding = true;
if ( true === (bool) self::get_whitelabel_string( 'astra-agency', 'hide_branding', false ) ) {
$show_branding = false;
}
if ( defined( 'WP_ASTRA_WHITE_LABEL' ) && WP_ASTRA_WHITE_LABEL ) {
$show_branding = false;
}
return apply_filters( 'astra_pro_show_branding', $show_branding );
}
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
1.0 | Introduced. |