WP_REST_Request::offsetExists( $offset )


Source

File: wp-includes/rest-api/class-wp-rest-request.php. View all references

public function offsetExists( $offset ) {
	$order = $this->get_parameter_order();

	foreach ( $order as $type ) {
		if ( isset( $this->params[ $type ][ $offset ] ) ) {
			return true;
		}
	}

	return false;
}


Top ↑

User Contributed Notes

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