bbp_new_topic_pre_title

bbp_new_topic_pre_title

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_new_topic_pre_title') is found 1 times:

  • /includes/topics/functions.php line 154
    		$topic_title = sanitize_text_field( $_POST['bbp_topic_title'] );
    	}
    
    	// Filter and sanitize
    	$topic_title = apply_filters( 'bbp_new_topic_pre_title', $topic_title );
    
    	// No topic title
    	if ( empty( $topic_title ) ) {
    		bbp_add_error( 'bbp_topic_title', __( '<strong>Error</strong>: Your topic needs a title.', 'bbpress' ) );
    	}
    
    

See this hook used in plugins: