aioseop_mrt_mkarry

Initialize settings to defaults.

Description

aioseop_mrt_mkarry(); 

Usage

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

Defined (1)

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

/inc/aioseop_functions.php  
  1. function aioseop_mrt_mkarry() { 
  2. global $aiosp; 
  3. global $aioseop_options; 
  4. $naioseop_options = $aiosp->default_options(); 
  5.  
  6. if ( get_option( 'aiosp_post_title_format' ) ) { 
  7. foreach ( $naioseop_options as $aioseop_opt_name => $value ) { 
  8. if ( $aioseop_oldval = get_option( $aioseop_opt_name ) ) { 
  9. $naioseop_options[ $aioseop_opt_name ] = $aioseop_oldval; 
  10. if ( $aioseop_oldval == '' ) { 
  11. $naioseop_options[ $aioseop_opt_name ] = ''; 
  12. delete_option( $aioseop_opt_name ); 
  13. add_option( 'aioseop_options', $naioseop_options ); 
  14. $aioseop_options = $naioseop_options;