swift_performance_is_wpcf7_active

You can override detection of Contact Form 7 plugin by Swift Performance

Parameters

$is_active

boolean which represents is Contact Form 7 active. True if it is active, false if it isn’t


Return

boolean


Example

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