AtD_process_options_update

Save AtD options.

Description

AtD_process_options_update(); 

Usage

  1. if ( !function_exists( 'AtD_process_options_update' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'jetpack-by-wordpress-com/modules/after-the-deadline/config-options.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = AtD_process_options_update(); 
  7.  

Defined (1)

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

/modules/after-the-deadline/config-options.php  
  1. function AtD_process_options_update() { 
  2.  
  3. $user = wp_get_current_user(); 
  4.  
  5. if ( ! $user || $user->ID == 0 ) 
  6. return; 
  7.  
  8. AtD_update_options( $user->ID, 'AtD_options' ); 
  9. AtD_update_options( $user->ID, 'AtD_check_when' ); 
  10. AtD_update_options( $user->ID, 'AtD_guess_lang' );