includes_url filter-hook . WP 2.8.0
Filters the URL to the includes directory.
Usage
add_filter( 'includes_url', 'filter_function_name_8560', 10, 2 ); function filter_function_name_8560( $url, $path ){ // filter... return $url; }
- $url(string)
- The complete URL to the includes directory including scheme and path.
- $path(string)
- Path relative to the URL to the wp-includes directory. Blank string if no path is specified.
Changelog
Since 2.8.0 | Introduced. |
Where the hook is called
includes_url
wp-includes/link-template.php 3375
return apply_filters( 'includes_url', $url, $path );