WordPress开发者和主题制作者的搜索引擎



rest_query_var-{$key} ›

Sincen/a
已弃用n/a
apply_filters( "rest_query_var-{$key}", $value )
定义在:
文档:

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





源码

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