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 ]

Google Arama Sonuçlarý

Dahasý ...

Kullanýcý Tartýþmalarý [ wordpress.org ]

- Bulunamadý -

Yeni bir konu yaz ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



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