bbp_new_reply_pre_set_terms

bbp_new_reply_pre_set_terms

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_new_reply_pre_set_terms') is found 1 times:

  • /includes/replies/functions.php line 401
     
    		/** Topic Tags ********************************************************/
    
    		// Just in time manipulation of reply terms before being edited
    		$terms = apply_filters( 'bbp_new_reply_pre_set_terms', $terms, $topic_id, $reply_id );
    
    		// Insert terms
    		$terms = wp_set_post_terms( $topic_id, $terms, bbp_get_topic_tag_tax_id(), false );
    
    		// Term error
    		if ( is_wp_error( $terms ) ) {
    

See this hook used in plugins: