Filters the link query results.
Description
Allows modification of the returned link query results.
See also
- ‘wp_link_query_args’: filter
Parameters
$results
array- An array of associative arrays of query results.
...$0
arrayID
intPost ID.title
stringThe trimmed, escaped post title.permalink
stringPost permalink.info
stringA'Y/m/d'
-formatted date for'post'
post type, the'singular_name'
post type label otherwise.
$query
arrayAn array of WP_Query arguments.Source
$results = apply_filters( 'wp_link_query', $results, $query );
Changelog
Version Description 3.7.0 Introduced.
User Contributed Notes
You must log in before being able to contribute a note or feedback.