bbp_get_topic_tag_caps

Return topic tag capabilities.

Description

(array) bbp_get_topic_tag_caps(); 

Returns (array)

Topic tag capabilities


Usage

  1. if ( !function_exists( 'bbp_get_topic_tag_caps' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'bbpress/includes/topics/capabilities.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bbp_get_topic_tag_caps(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/includes/topics/capabilities.php  
  1. function bbp_get_topic_tag_caps() { 
  2. return apply_filters( 'bbp_get_topic_tag_caps', array ( 
  3. 'manage_terms' => 'manage_topic_tags',  
  4. 'edit_terms' => 'edit_topic_tags',  
  5. 'delete_terms' => 'delete_topic_tags',  
  6. 'assign_terms' => 'assign_topic_tags' 
  7. ) );