Filter hook 'plugins_url'

in WP Core File wp-includes/link-template.php at line 3688

Description

Filters the URL to the plugins directory.

Occurrences

Filename Line Number
wp-includes/link-template.php 3688

Parameters

Type Name Description
string $url The complete URL to the plugins directory including scheme and path.
string $path Path relative to the URL to the plugins directory. Blank string if no path is specified.
string $plugin The plugin file path to be relative to. Blank string if no plugin is specified.

PHP Doc

/**
	 * Filters the URL to the plugins directory.
	 *
	 * @since 2.8.0
	 *
	 * @param string $url    The complete URL to the plugins directory including scheme and path.
	 * @param string $path   Path relative to the URL to the plugins directory. Blank string
	 *                       if no path is specified.
	 * @param string $plugin The plugin file path to be relative to. Blank string if no plugin
	 *                       is specified.
	 */