apply_filters( 'wp_link_query', array $results , array $query )
Filters the link query results.
Description
Allows modification of the returned link query results.
See also
‘wp_link_query_args’: filter
Parameters
- $results
-
An array of associative arrays of query results.<br>
- '...$0'
(array)- 'ID'
(int) Post ID.<br> - 'title'
(string) The trimmed, escaped post title.<br> - 'permalink'
(string) Post permalink.<br> - 'info'
(string) A 'Y/m/d'-formatted date for 'post' post type, the 'singular_name' post type label otherwise.<br>
- 'ID'
- '...$0'
- $query
-
An array of WP_Query arguments.
Source
Changelog
Version | Description |
---|---|
3.7.0 | Introduced. |