A WordPress-centric search engine for devs and theme authors



rest_query_var-{$key} ›

Sincen/a
Deprecatedn/a
apply_filters( "rest_query_var-{$key}", $value )
Defined at:
Codex:

This filter is documented in wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php





Source

$query_args[ $key ] = apply_filters( "rest_query_var-{$key}", $value ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores