wppaste
WordPress

apply_filters( 'plugins_url', string $url, string $path, string $plugin )

Since
2.8.0
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.

Fired at · 1

  • wp-includes/link-template.php:3720plugins_url()

Source

	 * @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.	 */	return apply_filters( 'plugins_url', $url, $path, $plugin );} /** * Retrieves the site URL for the current network. * * Returns the site URL with the appropriate protocol, 'https' if

History

Introduced in 2.8.0. Unchanged from 6.7.7 through 7.1.0.

  1. 6.7.7
  2. 6.8.8
  3. 6.9.7
  4. 7.0.4
  5. 7.1.0

Signature, return type and hooks compared across 5 parsed releases.

About this page

Parsed data
Generated from the wordpress-develop 7.1.0 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.