wpseo_upgrader_process_complete

Check if the current theme was updated and if so, test the updated theme for the title and meta description tag.

Description

wpseo_upgrader_process_complete( (WP_Upgrader) $upgrader_object, (array) $context_array, (null) $themes = null ); 

Parameters (3)

0. $upgrader_object (WP_Upgrader)
Upgrader object instance.
1. $context_array (array)
Context data array.
2. $themes — Optional. (null) => null
Themes set.

Usage

  1. if ( !function_exists( 'wpseo_upgrader_process_complete' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'yoast-seo/inc/wpseo-non-ajax-functions.php'; 
  3.  
  4. // Upgrader object instance. 
  5. $upgrader_object = null; 
  6.  
  7. // Context data array. 
  8. $context_array = array(); 
  9.  
  10. // Optional themes set. 
  11. $themes = null; 
  12.  
  13. // NOTICE! Understand what this does before running. 
  14. $result = wpseo_upgrader_process_complete($upgrader_object, $context_array, $themes); 
  15.  

Defined (1)

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

/inc/wpseo-non-ajax-functions.php  
  1. function wpseo_upgrader_process_complete( $upgrader_object, $context_array, $themes = null ) { 
  2. _deprecated_function( __FUNCTION__, 'WPSEO 3.3.0' );