plugins_url Wordpress function


Description:

Retrieve the url to the plugins directory or to a specific file within that directory.


Syntax:


Arguments:

(string) $path Optional. Path relative to the plugins url.
(string) $plugin Optional. The plugin file that you want to be relative to - i.e. pass in __FILE__


Return Type:

(string) Plugins url link with optional path appended.


Define At:

wp-includes/link-template.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/plugins_url


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×