disable_all_in_one_free

The All In One SEO Pack disable all in one free function.

Description

disable_all_in_one_free(); 

Usage

  1. if ( !function_exists( 'disable_all_in_one_free' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'all-in-one-seo-pack/all_in_one_seo_pack.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = disable_all_in_one_free(); 
  7.  

Defined (1)

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

/all_in_one_seo_pack.php  
  1. function disable_all_in_one_free() { 
  2. if ( AIOSEOPPRO && is_plugin_active( 'all-in-one-seo-pack/all_in_one_seo_pack.php' ) ) { 
  3. deactivate_plugins( 'all-in-one-seo-pack/all_in_one_seo_pack.php' );