[ Index ]

PHP Cross Reference of BBPress

title

Body

[close]

/src/includes/topics/ -> capabilities.php (summary)

bbPress Topic Capabilites Used to map topic capabilities to WordPress's existing capabilities.

File Size: 389 lines (10 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 4 functions

  bbp_get_topic_caps()
  bbp_get_topic_tag_caps()
  bbp_map_topic_meta_caps()
  bbp_map_topic_tag_meta_caps()

Functions
Functions that are not part of a class:

bbp_get_topic_caps()   X-Ref
Return topic capabilities

return: array Topic capabilities
since: 2.0.0 bbPress (r2593)

bbp_get_topic_tag_caps()   X-Ref
Return topic tag capabilities

return: array Topic tag capabilities
since: 2.0.0 bbPress (r2593)

bbp_map_topic_meta_caps( $caps = array()   X-Ref
Maps topic capabilities

param: array  $caps    Capabilities for meta capability.
param: string $cap     Capability name.
param: int    $user_id User id.
param: array  $args    Arguments.
return: array Actual capabilities for meta capability
since: 2.2.0 bbPress (r4242)

bbp_map_topic_tag_meta_caps( $caps, $cap, $user_id, $args )   X-Ref
Maps topic tag capabilities

param: array $caps Capabilities for meta capability
param: string $cap Capability name
param: int $user_id User id
param: array $args Arguments
return: array Actual capabilities for meta capability
since: 2.2.0 bbPress (r4242)



Generated: Mon Dec 30 01:00:53 2024 Cross-referenced by PHPXref 0.7.1