deactivate_contact_form_7_designer_plugin

Function created for deactivated Contact Form 7 Designer plugin.

Description

deactivate_contact_form_7_designer_plugin(); 

This is because styles of that plugin is in conflict with ours. No one should add an id in the html tag.


Usage

  1. if ( !function_exists( 'deactivate_contact_form_7_designer_plugin' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'contact-form-7-style/cf7-style.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = deactivate_contact_form_7_designer_plugin(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/cf7-style.php  
  1. function deactivate_contact_form_7_designer_plugin() { 
  2. if ( is_plugin_active('contact-form-7-designer/cf7-styles.php') ) { 
  3. deactivate_plugins('contact-form-7-designer/cf7-styles.php');