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



ajax_query_attachments_args ›

Desde3.7.0
Obsoleton/a
apply_filters( 'ajax_query_attachments_args', $query )
Parâmetros:
  • (array) $query An array of query variables.
    Required: Yes
Ver:
  • WP_Query::parse_query()
Definido em:
Codex:

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





Fonte

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