Add_Divi_Integration::plugin_active()
Check if Divi theme is active
Return Return
(bool)
Source Source
File: src/integrations/divi/add-divi-integration.php
public function plugin_active() { $theme = wp_get_theme(); // gets the current theme if ( 'Divi' === $theme->get_template() ) { return true; } return false; }
Expand full source code Collapse full source code View on Github