BP_Groups_Group::get_mods()

Get a list of the group’s mods.


Description Description

Used to provide cache-friendly access to the ‘mods’ property of the group object.


Return Return

(array|null)


Top ↑

Source Source

File: bp-groups/classes/class-bp-groups-group.php

	protected function get_mods() {
		if ( isset( $this->mods ) ) {
			return $this->mods;
		}

		$this->set_up_admins_and_mods();
		return $this->mods;
	}

Top ↑

Changelog Changelog

Changelog
Version Description
2.7.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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