Filter hook 'wp_plugin_dependencies_slug'

in WP Core File wp-includes/class-wp-plugin-dependencies.php at line 603

Description

Filters a plugin dependency's slug before matching to the WordPress.org slug format. Can be used to switch between free and premium plugin slugs, for example.

Occurrences

Filename Line Number
wp-includes/class-wp-plugin-dependencies.php 603

Parameters

Type Name Description
string $slug The slug.

PHP Doc

/**
			 * Filters a plugin dependency's slug before matching to
			 * the WordPress.org slug format.
			 *
			 * Can be used to switch between free and premium plugin slugs, for example.
			 *
			 * @since 6.5.0
			 *
			 * @param string $slug The slug.
			 */