apply_filters( "rest_query_var-{$key}", string $value )

Filters the query_vars used in get_items() for the constructed query.


Description Description

The dynamic portion of the hook name, $key, refers to the query_var key.


Top ↑

Parameters Parameters

$value

(string) The query_var value.


Top ↑

Source Source

File: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
4.7.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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