bbp_check_for_duplicate_query

bbp_check_for_duplicate_query

Hook Type: filter

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_check_for_duplicate_query') is found 1 times:

  • /includes/common/functions.php line 723
    		? $bbp_db->prepare( " AND post_parent = %d", $r['post_parent'] )
    		: '';
    	$query .= $where;
    	$query .= " LIMIT 1";
    	$dupe   = apply_filters( 'bbp_check_for_duplicate_query', $query, $r );
    
    	// Dupe found
    	if ( $bbp_db->get_var( $dupe ) ) {
    		do_action( 'bbp_check_for_duplicate_trigger', $post_data );
    		return false;
    	}