bbp_new_topic_pre_insert

bbp_new_topic_pre_insert

Hook Type: filter

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_new_topic_pre_insert') is found 1 times:

  • /includes/topics/functions.php line 324
    	/** No Errors *************************************************************/
    
    	// Add the content of the form to $topic_data as an array.
    	// Just in time manipulation of topic data before being created
    	$topic_data = apply_filters( 'bbp_new_topic_pre_insert', array(
    		'post_author'    => $topic_author,
    		'post_title'     => $topic_title,
    		'post_content'   => $topic_content,
    		'post_status'    => $topic_status,
    		'post_parent'    => $forum_id,
    		'post_type'      => bbp_get_topic_post_type(),