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



ajax_query_attachments_args ›

Since3.7.0
已弃用n/a
apply_filters( 'ajax_query_attachments_args', $query )
参数:
  • (array) $query An array of query variables.
    Required: Yes
查看:
  • WP_Query::parse_query()
定义在:
文档:

Filters the arguments passed to WP_Query during an Ajax call for querying attachments.





源码

$query = apply_filters( 'ajax_query_attachments_args', $query );