src/Http/Filter.php
private function add_callback( $previous, $next ) {
		return function ( $value ) use ( $previous, $next ) {
			if ( call_user_func( $previous, $value ) ) {
				return call_user_func( $next, $value );
			}

			return false;
		};
	}
private function add_callback( $previous, $next ) {
		return function ( $value ) use ( $previous, $next ) {
			if ( call_user_func( $previous, $value ) ) {
				return call_user_func( $next, $value );
			}

			return false;
		};
	}
private function add_callback ( $ previous , $ next ) { return function ( $ value ) use ( $ previous , $ next ) { if ( call_user_func ( $ previous , $ value ) ) { return call_user_func ( $ next , $ value ) ; } return false ; } ; }
Creates a new callback that connects the previous and next callback.

@param callable $previous
@param callable $next

@return \Closure;
Creates a new callback that connects the previous and next callback .