bbp_number_not_negative

bbp_number_not_negative

Hook Type: filter

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_number_not_negative') is found 1 times:

  • /includes/common/formatting.php line 552
    	// Pick the maximum value, never less than zero
    	$not_less_than_zero = max( 0, $int );
    
    	// Filter & return
    	return (int) apply_filters( 'bbp_number_not_negative', $not_less_than_zero, $int, $number );
    }
    
    /**
     * A bbPress specific method of formatting numeric values
     *
     * @since 2.0.0 bbPress (r2486)