Tribe__Admin__Help_Page::admin_body_class( string $classes )

Hooked to admin_body_class to add a class for help page.


Parameters #

$classes

(string) (Required) A space separated string of classes to be added to body.


Top ↑

Return #

(string) $classes A space separated string of classes to be added to body.


Top ↑

Source #

File: src/Tribe/Admin/Help_Page.php

	public function admin_body_class( $classes ) {
		if ( ! $this->is_current_page() ) {
			return $classes;
		}

		$classes .= ' tribe-help tec-help';
		return $classes;
	}

Top ↑

Changelog #

Changelog
Version Description
4.15.0 Introduced.