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


  • Full name: plugin_dir_path
  • Defined in: cms/core/Shared/Helpers/plugin.php

Parameters

Parameter Type Description
$filename string The filename of the plugin (FILE).

Return Value

string

The filesystem path of the directory that contains the plugin.