responsive_II_update_social_icon_options

Update social icon options.

Description

responsive_II_update_social_icon_options(); 

Usage

  1. if ( !function_exists( 'responsive_II_update_social_icon_options' ) ) { 
  2. require_once '/includes/functions-update.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = responsive_II_update_social_icon_options(); 
  7.  

Defined (1)

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

/includes/functions-update.php  
  1. function responsive_II_update_social_icon_options() { 
  2. $responsive_II_options = responsive_II_get_options(); 
  3. // If new option does not exist then copy the option 
  4. if ( !isset( $responsive_II_options['googleplus_uid'] ) && isset( $responsive_II_options['google_plus_uid'] ) ) { 
  5. $responsive_II_options['googleplus_uid'] = $responsive_II_options['google_plus_uid']; 
  6. if ( !isset( $responsive_II_options['stumbleupon_uid'] ) && isset ( $responsive_II_options['stumble_uid'] ) ) { 
  7. $responsive_II_options['stumbleupon_uid'] = $responsive_II_options['stumble_uid']; 
  8.  
  9. // Update entire array 
  10. update_option( 'responsive_II_theme_options', $responsive_II_options );