wp_link_query_args filter-hook . WP 3.7.0
Filters the link query arguments.
Allows modification of the link query arguments before querying.
Usage
add_filter( 'wp_link_query_args', 'filter_function_name_856' ); function filter_function_name_856( $query ){ // filter... return $query; }
- $query(array)
- An array of WP_Query arguments.
Where the hook is called
wp_link_query_args
wp-includes/class-wp-editor.php 1640
$query = apply_filters( 'wp_link_query_args', $query );