swift_performance_is_elementor_active

You can override detection of Elementor plugin by Swift Performance

Parameters

$is_active

boolean which represents is Elementor active. True if it is active, false if it isn’t


Return

boolean


Example

// Disabling Elementor features in Swift Performance
add_filter('swift_performance_is_elementor_active', function($is_active){
 return false;
});