Provider::load_conditionals()
Return
(bool) Whether or not integrations should load.
Source
File: src/Events_Pro/Integrations/Themes/Kadence/Provider.php
public function load_conditionals(): bool {
$theme = wp_get_theme();
$theme_name = $theme->get( 'Name' );
$parent_theme_name = $theme->get( 'Parent Theme' );
$theme_name = is_string( $theme_name ) ? strtolower( $theme_name ) : '';
$parent_theme_name = is_string( $parent_theme_name ) ? strtolower( $parent_theme_name ) : '';
return $theme_name === 'kadence' || $parent_theme_name === 'kadence';
}