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