WP_REST_Response::set_matched_handler( array   $handler )

Sets the handler that was responsible for generating the response.

Parameters

$handler array required
The matched handler.

Source

public function set_matched_handler( $handler ) {
	$this->matched_handler = $handler;
}

Changuelog

Versionen Description
4.4.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.