Allows modification of the returned link query results.
Parameters
$resultsarray
{ An array of associative arrays of query results. @type array ...$0 { @type int $ID Post ID. @type string $title The trimmed, escaped post title. @type string $permalink Post permalink. @type string $info A 'Y/m/d'-formatted date for 'post' post type, the 'singular_name' post type label otherwise. } }
...$0array
@type int $ID Post ID.
$titlestring
The trimmed, escaped post title.
$permalinkstring
Post permalink.
$infostring
A 'Y/m/d'-formatted date for 'post' post type, the 'singular_name' post type label otherwise.
1852* @type string$infoA'Y/m/d'-formatted date for'post' post type,1853* the 'singular_name' post type label otherwise.1854*}1855*}1856* @param array$query An array of WP_Query arguments.1857*/1858$results=apply_filters('wp_link_query',$results,$query);18591860return!empty($results)?$results:false;1861}18621863/**1864* Dialog for internal linking.
History
Introduced in 3.7.0. Unchanged from 6.7.7 through 7.1.0.