bbp_delete_topic

bbp_delete_topic

Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: bbpress.2.6.9

do_action('bbp_delete_topic') is found 1 times:

  • /includes/topics/functions.php line 3384
    	if ( empty( $topic_id ) || ! bbp_is_topic( $topic_id ) ) {
    		return false;
    	}
    
    	do_action( 'bbp_delete_topic', $topic_id );
    }
    
    /**
     * Delete replies to a topic when it's deleted
     *
     * Usually you'll want to do this before the topic itself is deleted.
    

See this hook used in plugins: