plugin_dir_url


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:

Description

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

Related Functions

plugins_url, plugin_dir_path, wp_login_url, plugins_api, get_plugin_files

Top Google Results

User discussions

wpseek mobile