WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about wp_link_query

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/class-wp-editor.php apply_filters 1844 /**
* Filters the link query results.
*
* Allows modification of the returned link query results.
*
* @since 3.7.0
*
* @see 'wp_link_query_args' filter
*
* @param array $results {
* 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.
* }
* }
* @param array $query An array of WP_Query arguments.
*/

Hook Parameters

Parameter Type Name Description
array $query An array of WP_Query arguments.