Uma área de pesquisa sobre o WordPress para devs e autores do tema



rest_query_var-{$key} ›

Desden/a
Obsoleton/a
apply_filters( "rest_query_var-{$key}", $value )
Definido em:
Codex:

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





Fonte

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