bbp_pre_split_topic

bbp_pre_split_topic

Hook Type: action

See hook in core

Displaying hooks found in version: bbpress.2.6.9

do_action('bbp_pre_split_topic') is found 1 times:

  • /includes/topics/functions.php line 1486
     
    	/** No Errors - Do the Spit ***********************************************/
    
    	// Update counts, etc...
    	do_action( 'bbp_pre_split_topic', $from_reply->ID, $source_topic->ID, $destination_topic->ID );
    
    	/** Date Check ************************************************************/
    
    	// Check if the destination topic is older than the from reply
    	if ( strtotime( $from_reply->post_date ) < strtotime( $destination_topic->post_date ) ) {