catchresponsive_reset_data

Function to reset date with respect to condition.

Description

catchresponsive_reset_data(); 

Usage

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

Defined (1)

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

/inc/customizer-includes/catchresponsive-customizer.php  
  1. function catchresponsive_reset_data() { 
  2. if ( $options['reset_all_settings'] ) { 
  3. remove_theme_mods(); 
  4.  
  5. // Flush out all transients on reset