- This topic has 2 replies, 2 voices, and was last updated 1 year, 2 months ago by .
-
Topic
-
Hello guys,
I need to run some PHP code if a specific extension is activated (MB Term Meta).
Using it as a traditional plugin, it was easy, because we can apply this:if (in_array('mb-term-meta/mb-term-meta.php', apply_filters('active_plugins', get_option('active_plugins')))) { do code here... }
However, inspecting the
get_option('active_plugins')
I can find only Metabox AIO — however MB Term Meta is activated through it. Is there a way to perform this check?if (mb-term-meta *is activated* via metabox-aio) { do code here... }
Thank you!
G.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.