bbp_trash_topic

bbp_trash_topic

Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: bbpress.2.6.9

do_action('bbp_trash_topic') is found 1 times:

  • /includes/topics/functions.php line 3446
    	if ( empty( $topic_id ) || ! bbp_is_topic( $topic_id ) ) {
    		return false;
    	}
    
    	do_action( 'bbp_trash_topic', $topic_id );
    }
    
    /**
     * Trash replies to a topic when it's trashed.
     *
     * Usually you'll want to do this before the topic itself is marked as spam.
    

See this hook used in plugins: