WP_REST_Request::set_attributes

Advertisement

Summery Summery

Sets the attributes for the request.

Syntax Syntax

WP_REST_Request::set_attributes( array $attributes )

Parameters Parameters

$attributes

(array) (Required) Attributes for the request.

Source Source

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

	 *
	 * @return array Attributes for the request.
	 */

Advertisement

Changelog Changelog

Changelog
Version Description
4.4.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.