apply_filters( 'wp_link_query', array $results, array $query )

Filters the link query results.


Description

Allows modification of the returned link query results.

Top ↑

See also


Top ↑

Parameters

$results array
An array of associative arrays of query results.
  • ...$0array
    • IDint
      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.
$query array
An array of WP_Query arguments.

Top ↑

Source

File: wp-includes/class-wp-editor.php. View all references

$results = apply_filters( 'wp_link_query', $results, $query );


Top ↑

Changelog

Changelog
Version Description
3.7.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.