Switch language

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




plugin_dir_url [ WordPress Function ]

plugin_dir_url ( $file )
Parameters:
  • (string) $file The filename of the plugin (__FILE__)
Returns:
  • (string) the URL path of the directory that contains the plugin
Defined at:



Gets the URL directory path (with trailing slash) for the plugin __FILE__ passed in

Source


<?php
function plugin_dir_url$file ) {
    return 
trailingslashitplugins_url''$file ) );
}
?>

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