wpseek.com
WordPress开发者和主题制作者的搜索引擎



wp_plugin_dependencies_slug › WordPress过滤钩子

Since6.5.0
已弃用n/a
apply_filters( 'wp_plugin_dependencies_slug', $slug )
参数:
  • (string) $slug The slug.
    Required: Yes
定义在:
文档:

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.





源码

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