bbp_register_topic_post_type

bbp_register_topic_post_type

Hook Type: filter

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_register_topic_post_type') is found 1 times:

  • /bbpress.php line 537
     
    		// Register Topic content type
    		register_post_type(
    			bbp_get_topic_post_type(),
    			apply_filters( 'bbp_register_topic_post_type', array(
    				'labels'              => bbp_get_topic_post_type_labels(),
    				'rewrite'             => bbp_get_topic_post_type_rewrite(),
    				'supports'            => bbp_get_topic_post_type_supports(),
    				'description'         => esc_html__( 'bbPress Topics', 'bbpress' ),
    				'capabilities'        => bbp_get_topic_caps(),
    				'capability_type'     => array( 'topic', 'topics' ),