Astra_Ext_White_Label_Markup::update_admin_brand_logo( string $admin_logo )
Get whitelabelled icon for admin dashboard.
Description
Parameters
- $admin_logo
-
(string) (Required) Default Astra icon.
Return
(string) URL for updated whitelabelled icon.
Source
File: classes/class-astra-ext-white-label-markup.php
public function update_admin_brand_logo( $admin_logo ) { $admin_logo = self::get_whitelabel_string( 'astra', 'icon' ); // Dark version logo support for white admin canvas. if ( false !== strpos( $admin_logo, 'whitelabel-branding.svg' ) ) { $admin_logo = ASTRA_EXT_URI . 'admin/core/assets/images/whitelabel-branding-dark.svg'; } return esc_url( $admin_logo ); }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
4.0.0 | Introduced. |