/**
  * 	set_hooks_admin - for hooking into EE Admin Core, other modules, etc
  *
  *  @access 	public
  *  @return 	void
  */
 public static function set_hooks_admin()
 {
     EED_Single_Page_Checkout::set_definitions();
     if (defined('DOING_AJAX')) {
         EED_Single_Page_Checkout::load_request_handler();
         EED_Single_Page_Checkout::load_reg_steps();
     } else {
         // hook into the top of pre_get_posts to set the reg step routing, which gives other modules or plugins a chance to modify the reg steps, but just before the routes get called
         add_action('pre_get_posts', array('EED_Single_Page_Checkout', 'load_reg_steps'), 1);
     }
     // set ajax hooks
     add_action('wp_ajax_process_reg_step', array('EED_Single_Page_Checkout', 'process_reg_step'));
     add_action('wp_ajax_nopriv_process_reg_step', array('EED_Single_Page_Checkout', 'process_reg_step'));
     add_action('wp_ajax_display_spco_reg_step', array('EED_Single_Page_Checkout', 'display_reg_step'));
     add_action('wp_ajax_nopriv_display_spco_reg_step', array('EED_Single_Page_Checkout', 'display_reg_step'));
     add_action('wp_ajax_update_reg_step', array('EED_Single_Page_Checkout', 'update_reg_step'));
     add_action('wp_ajax_nopriv_update_reg_step', array('EED_Single_Page_Checkout', 'update_reg_step'));
 }
 /**
  * 	set_hooks_admin - for hooking into EE Admin Core, other modules, etc
  *
  *  @access 	public
  *  @return 	void
  */
 public static function set_hooks_admin()
 {
     EED_Single_Page_Checkout::set_definitions();
     // configure the reg steps array
     EED_Single_Page_Checkout::setup_reg_steps_array();
     // set ajax hooks
     foreach (self::$_reg_steps as $reg_step_details) {
         add_action('wp_ajax_espresso_' . $reg_step_details['process_func'], array('EED_Single_Page_Checkout', $reg_step_details['process_func']));
         add_action('wp_ajax_nopriv_espresso_' . $reg_step_details['process_func'], array('EED_Single_Page_Checkout', $reg_step_details['process_func']));
     }
 }