Astra_Ext_White_Label_Markup::admin_dashboard_page( mixed $content )

White labels the theme on the dashboard ‘At a Glance’ metabox


Description


Parameters

$content

(mixed) (Required) Content.


Return

(array)


Source

File: classes/class-astra-ext-white-label-markup.php

		public function admin_dashboard_page( $content ) {
			if ( is_admin() && 'Astra' == wp_get_theme() && false !== self::get_whitelabel_string( 'astra', 'name', false ) ) {
				return sprintf( $content, get_bloginfo( 'version', 'display' ), '<a href="themes.php">' . self::get_whitelabel_string( 'astra', 'name', false ) . '</a>' );
			}

			return $content;
		}


User Contributed Notes

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