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


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

Parameters

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

Return Value

string

the URL path of the directory that contains the plugin.