wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



wp_plugin_dependencies_slug › Filtr WordPress Hooks

Od6.5.0
Przestarzałyn/a
apply_filters( 'wp_plugin_dependencies_slug', $slug )
Parametry:
  • (string) $slug The slug.
    Wymagane: Tak
Zdefiniowane na:
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.





Źródło

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