bbp_get_topic_tag_caps

  • apply_filters( 'bbp_get_topic_tag_caps', $caps )

    Source Reference:

    • Component: bbPress :: bbp-core
      File: /bbp-includes/bbp-core-caps.php :: Trac Source Line: 334
      	// Topic tag meta caps
      	$caps = array (
      		'manage_terms' => 'manage_topic_tags',
      		'edit_terms'   => 'edit_topic_tags',
      		'delete_terms' => 'delete_topic_tags',
      		'assign_terms' => 'assign_topic_tags'
      	);
      
      	return apply_filters( 'bbp_get_topic_tag_caps', $caps );
      }
      
      /**
       * Returns an array of capabilities based on the role that is being requested.
       *
       * @since bbPress (r2994)
       *
       * @param string $role Optional. Defaults to The role to load caps for
       * @uses apply_filters() Allow return value to be filtered
      

Comments are closed.