Definition:
function includes_url($path = '') {}
Retrieve the url to the includes directory.
Parameters
- string $path: Optional. Path relative to the includes url.
Return values
returns:Includes url link with optional path appended.
Defined filters
- includes_url
apply_filters('includes_url', $url, $path)
Source code
function includes_url($path = '') {
$url = site_url() . '/' . WPINC . '/';
if ( !empty($path) && is_string($path) && strpos($path, '..') === false )
$url .= ltrim($path, '/');
return apply_filters('includes_url', $url, $path);
}
2007

February 12, 2011 


No comments yet... Be the first to leave a reply!