yoast_wpseo_missing_filter

Throw an error if the filter extension is disabled (prevent white screens) and self-deactivate plugin.

Description

yoast_wpseo_missing_filter(); 

Usage

  1. if ( !function_exists( 'yoast_wpseo_missing_filter' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'yoast-seo/wp-seo-main.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = yoast_wpseo_missing_filter(); 
  7.  

Defined (1)

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

/wp-seo-main.php  
  1. function yoast_wpseo_missing_filter() { 
  2. if ( is_admin() ) { 
  3.