BP_Admin_Types::screen_head()

Override the Admin parent file to highlight the right menu.


Source Source

File: bp-core/classes/class-bp-admin-types.php

	public function screen_head() {
		global $parent_file;

		if ( 'members' === $this->taxonomies[ $this->taxonomy ]['component'] ) {
			$parent_file = 'users.php';
		} else {
			$parent_file = 'bp-' . $this->taxonomies[ $this->taxonomy ]['component'];
		}
	}

Changelog Changelog

Changelog
Version Description
7.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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