BP_Groups_Group::get_mods()
Get a list of the group’s mods.
Description
Used to provide cache-friendly access to the ‘mods’ property of the group object.
Return
(array|null)
Source
File: bp-groups/classes/class-bp-groups-group.php
551 552 553 554 555 556 557 558 | protected function get_mods() { if ( isset( $this ->mods ) ) { return $this ->mods; } $this ->set_up_admins_and_mods(); return $this ->mods; } |
Changelog
Version | Description |
---|---|
BuddyPress 2.7.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.