Home › Forums › Bug Reports › Multiple Include Conflicts › Reply To: Multiple Include Conflicts
Hi Elliot,
I may not have been clear on this one. The issue is not with the core plugin, it’s with the addons, specifically the gallery and the options page.
If you only include the base plugin all is well because it’s one big class and before the class you’ve added this check:
if( !class_exists('acf') ):
If I want to include the repeater field addon all is well again because I include the acf-repeater.php file which has this check:
if( !function_exists('acf_register_repeater_field') ):
However, the gallery and the options page addon does not have this check so it can not be included with a simple include.
I hope that makes it a bit clearer, let me know if I’m just being thick 🙂
Daniel
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.