wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_plugin_dependencies_slug › WordPress Filter Hooks

Since6.5.0
Deprecatedn/a
apply_filters( 'wp_plugin_dependencies_slug', $slug )
Parameters:
  • (string) $slug The slug.
    Required: Yes
Defined at:
Codex:

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.





Source

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