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.