apply_filters( ‘plugins_url’, string $url, string $path, string $plugin )

In this article

Filters the URL to the plugins directory.

Parameters

$urlstring
The complete URL to the plugins directory including scheme and path.
$pathstring
Path relative to the URL to the plugins directory. Blank string if no path is specified.
$pluginstring
The plugin file path to be relative to. Blank string if no plugin is specified.

Source

return apply_filters( 'plugins_url', $url, $path, $plugin );

Changelog

VersionDescription
2.8.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.