wp_link_query_args filter-hookWP 3.7.0

Filters the link query arguments.

Allows modification of the link query arguments before querying.


add_filter( 'wp_link_query_args', 'wp_kama_link_query_args_filter' );

 * Function for `wp_link_query_args` filter-hook.
 * @param array $query An array of WP_Query arguments.
 * @return array
function wp_kama_link_query_args_filter( $query ){

	// filter...
	return $query;
An array of WP_Query arguments.


Since 3.7.0 Introduced.

Where the hook is called

wp-includes/class-wp-editor.php 1810
$query = apply_filters( 'wp_link_query_args', $query );

Where the hook is used in WordPress

Usage not found.