wpsnoop Function directory_theme_scripts() conflicts found in plugins 3 themes
A php function called directory_theme_scripts() is used in 3 wordpress plugins/themes and could produce a potential conflict if the wrong combination of themes and plugins is used on your site.
To prevent this from happening developers are encouraged to use namespaces and scopes that isolate their functions from colliding with other functions but this is not always done correctly.
We hope this reference helps you to find PHP Fatal error: Cannot redeclare directory_theme_scripts()
The following 3 themes register a function called directory_theme_scripts():
Theme |
---|
Supreme Directory |
Directory Starter |
Whoop |