Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




includes_url [ WordPress Function ]

includes_url ( $path = '' )
Parameters:
  • (string) $path Optional. Path relative to the includes url.
Returns:
  • (string) Includes url link with optional path appended.
Defined at:



Retrieve the url to the includes directory.

Source


<?php
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);
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

Gebruikersdiscussies [ wordpress.org ]

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics