bbp_get_forum_post_type_supports

Return array of features the forum post type supports.

Description

(array) bbp_get_forum_post_type_supports(); 

Returns (array)


Usage

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

Defined (1)

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

/includes/forums/template.php  
  1. function bbp_get_forum_post_type_supports() { 
  2. return apply_filters( 'bbp_get_forum_post_type_supports', array( 
  3. 'title',  
  4. 'editor',  
  5. 'revisions' 
  6. ) );