Skip to main content

GF_REST_Feed_Properties_Controller

Source: includes/webapi/v2/includes/controllers/class-controller-feed-properties.php:7

Details​

Properties​

PropertyTypeDescription
$rest_basestringThe base of this controller's route.

Methods​

MethodDescription
register_routes()Register the routes for the objects of the controller.
update_items()Updates the specified feed with the given properties.
get_collection_params()Get the query params for collections
get_item_schema()Get the Feed schema, conforming to JSON Schema.

Method Reference​

register_routes()​

public function register_routes()

Register the routes for the objects of the controller.

Since: 2.4.24

Source: includes/webapi/v2/includes/controllers/class-controller-feed-properties.php:23

update_items()​

public function update_items( $request )

Updates the specified feed with the given properties.

Parameters​

NameTypeDefaultDescription
$requestWP_REST_RequestFull data about the request.

Returns​

Since: 2.4.24

Source: includes/webapi/v2/includes/controllers/class-controller-feed-properties.php:43

get_collection_params()​

public function get_collection_params()

Get the query params for collections

Returns​

  • array

Since: 2.4.24

Source: includes/webapi/v2/includes/controllers/class-controller-feed-properties.php:83

get_item_schema()​

public function get_item_schema()

Get the Feed schema, conforming to JSON Schema.

Returns​

  • array

Since: 2.4.24

Source: includes/webapi/v2/includes/controllers/class-controller-feed-properties.php:94