Astra_Ext_White_Label_Markup::astra_page_admin_classes( String $classes )

Add admin page class to Astra Options page.


Description


Parameters

$classes

(String) (Required) CSS class names for thee body attribute.


Return

(String) SS class names for thee body attribute with new CSS classes for Astra Options page.


Source

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

		public function astra_page_admin_classes( $classes ) {
			$current_screen = get_current_screen();

			if ( 'appearance_page_' . $this->astra_whitelabelled_slug( 'astra' ) === $current_screen->base ) {
				$classes = $classes . ' appearance_page_astra';
			}

			return $classes;
		}

Changelog

Changelog
Version Description
1.6.14 Introduced.


User Contributed Notes

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