plugin_dir_path


plugin_dir_path ( $file )

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

Description

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

Related Functions

plugin_dir_url, get_plugin_data, is_plugin_page, plugins_url, plugins_api

Top Google Results

User discussions

wpseek mobile