Term strategy for interfacing with User Engagements.
| since | 2.6.0 bbPress (r6737) |
|---|---|
| package | bbPress |
| inherited_from | \BBP_User_Engagements_Base |
add_user_to_object(integer $object_id= 0, integer $user_id= 0, string $meta_key= '', string $meta_type= 'post', boolean $unique= false) : boolean
| since | 2.6.0 bbPress (r6737) |
|---|---|
| inherited_from | \BBP_User_Engagements_Base::add_user_to_object() |
integerThe object id.
integerThe user id.
stringThe relationship key.
stringThe relationship type (usually 'post').
booleanWhether meta key should be unique to the object.
booleanReturns true on success, false on failure.add_user_to_object(integer $object_id= 0, integer $user_id= 0, string $meta_key= '', string $meta_type= 'post', boolean $unique= false) : boolean
| since | 2.6.0 bbPress (r6722) |
|---|
integerThe object id.
integerThe user id.
stringThe relationship key.
stringThe relationship type (usually 'post').
booleanWhether meta key should be unique to the object.
booleanReturns true on success, false on failure.get_query(array $args= array(), $context_key= '', string $meta_key= '', string $meta_type= 'post') : array
| since | 2.6.0 bbPress (r6737) |
|---|---|
| inherited_from | \BBP_User_Engagements_Base::get_query() |
array
string
string
arrayget_query(array $args= array(), $context_key= '', string $meta_key= '', string $meta_type= 'post') : array
| since | 2.6.0 bbPress (r6737) |
|---|
array
string
string
arrayget_users_for_object(integer $object_id= 0, string $meta_key= '', string $meta_type= 'post') : array
| since | 2.6.0 bbPress (r6737) |
|---|---|
| inherited_from | \BBP_User_Engagements_Base::get_users_for_object() |
integerThe object id.
stringThe key used to index this relationship.
stringThe type of meta to look in.
arrayReturns ids of users.get_users_for_object(integer $object_id= 0, string $meta_key= '', string $meta_type= 'post') : array
| since | 2.6.0 bbPress (r6722) |
|---|
integerThe object id.
stringThe key used to index this relationship.
stringThe type of meta to look in.
arrayReturns ids of users.remove_all_users_from_all_objects(string $meta_key= '', string $meta_type= 'post') : boolean
| since | 2.6.0 bbPress (r6737) |
|---|---|
| inherited_from | \BBP_User_Engagements_Base::remove_all_users_from_all_objects() |
stringThe relationship key.
stringThe relationship type (usually 'post').
booleanReturns true on success, false on failure.remove_all_users_from_all_objects(string $meta_key= '', string $meta_type= 'post') : boolean
| since | 2.6.0 bbPress (r6722) |
|---|
stringThe relationship key.
stringThe relationship type (usually 'post').
booleanReturns true on success, false on failure.remove_object_from_all_users(integer $object_id= 0, string $meta_key= '', string $meta_type= 'post') : boolean
| since | 2.6.0 bbPress (r6737) |
|---|---|
| inherited_from | \BBP_User_Engagements_Base::remove_object_from_all_users() |
integerThe object id.
stringThe relationship key.
stringThe relationship type (usually 'post').
booleanReturns true on success, false on failure.remove_object_from_all_users(integer $object_id= 0, string $meta_key= '', string $meta_type= 'post') : boolean
| since | 2.6.0 bbPress (r6722) |
|---|
integerThe object id.
stringThe relationship key.
stringThe relationship type (usually 'post').
booleanReturns true on success, false on failure.remove_user_from_all_objects(integer $user_id= 0, string $meta_key= '', string $meta_type= 'post') : boolean
| since | 2.6.0 bbPress (r6737) |
|---|---|
| inherited_from | \BBP_User_Engagements_Base::remove_user_from_all_objects() |
integerThe user id.
stringThe relationship key.
stringThe relationship type (usually 'post').
booleanReturns true on success, false on failure.remove_user_from_all_objects(integer $user_id= 0, string $meta_key= '', string $meta_type= 'post') : boolean
| since | 2.6.0 bbPress (r6722) |
|---|
integerThe user id.
stringThe relationship key.
stringThe relationship type (usually 'post').
booleanReturns true on success, false on failure.remove_user_from_object(integer $object_id= 0, integer $user_id= 0, string $meta_key= '', string $meta_type= 'post') : boolean
| since | 2.6.0 bbPress (r6737) |
|---|---|
| inherited_from | \BBP_User_Engagements_Base::remove_user_from_object() |
integerThe object id.
integerThe user id.
stringThe relationship key.
stringThe relationship type (usually 'post').
booleanReturns true on success, false on failure.remove_user_from_object(integer $object_id= 0, integer $user_id= 0, string $meta_key= '', string $meta_type= 'post') : boolean
| since | 2.6.0 bbPress (r6722) |
|---|
integerThe object id.
integerThe user id.
stringThe relationship key.
stringThe relationship type (usually 'post').
booleanReturns true on success, false on failure.jit_taxonomy(string $tax_key= '', string $object_type= 'user')
| since | 2.6.0 bbPress (r6737) |
|---|
string
string
$type : string
'term'| since | 2.6.0 bbPress (r6737) |
|---|---|
| inherited_from | \BBP_User_Engagements_Base::type |
$type : string
''| since | 2.6.0 bbPress (r6737) |
|---|