plugins_url

Advertisement

Summery Summery

Filters the URL to the plugins directory.

Syntax Syntax

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

Parameters Parameters

$url

The complete URL to the plugins directory including scheme and path.

$path

Path relative to the URL to the plugins directory. Blank string if no path is specified.

$plugin

The plugin file path to be relative to. Blank string if no plugin is specified.

Source Source

File: wp-includes/link-template.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.8.0 Introduced.

Advertisement

Leave a Reply