Exemple #1
0
 /**
  * This will trigger the loading of all the options
  *
  * @access	public
  * @return	void
  * @since	1.6
  */
 public function triggerOptionCreation()
 {
     // The after_setup_theme is the initialization stage
     if (current_filter() == 'after_setup_theme') {
         TitanFramework::$initializing = true;
     }
     do_action('tf_create_options');
     TitanFramework::$initializing = false;
 }
 /**
  * Trigger initial loading of all the options. Initial loading is when all options are
  * gathered for pre-processing: saving default values & checking.
  *
  * @since 1.8.2
  * @access public
  *
  * @return void
  */
 public function trigger_initial_option_creation()
 {
     TitanFramework::$initializing = true;
     do_action('tf_create_options');
     TitanFramework::$initializing = false;
 }