apply_filters( ‘wp_plugin_dependencies_slug’, string $slug )

In this article

Filters a plugin dependency’s slug before matching to the WordPress.org slug format.

Description

Can be used to switch between free and premium plugin slugs, for example.

Parameters

$slugstring
The slug.

Source

$slug = apply_filters( 'wp_plugin_dependencies_slug', $slug );

Changelog

VersionDescription
6.5.0Introduced.

User Contributed Notes

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