BBP_User_Engagements_Base::get_users_for_object( int $object_id, string $meta_key = '', string $meta_type = 'post' )
Get users of an object
Description Description
Parameters Parameters
- $object_id
-
(Required) The object id
- $meta_key
-
(Optional) The key used to index this relationship
Default value: ''
- $meta_type
-
(Optional) The type of meta to look in
Default value: 'post'
Return Return
(array) Returns ids of users
Source Source
File: includes/common/engagements.php
public function get_users_for_object( $object_id = 0, $meta_key = '', $meta_type = 'post' ) { }
Changelog Changelog
Version | Description |
---|---|
2.6.0 | Introduced. |