| @@ -30,11 +30,11 @@ | ||
| 30 | 30 | $this->cache = new Cache(); |
| 31 | 31 | $this->builder = $builder; |
| 32 | 32 | |
| 33 | 33 | add_action( 'wp_loaded', [ $this, 'register' ] ); |
| 34 | - // add_action( 'wp_ajax_templately_conditions', [ $this, 'get_conditions' ] ); | |
| 35 | - // add_action( 'wp_ajax_templately_save_conditions', [ $this, 'save_conditions' ] ); | |
| 36 | - // add_action( 'wp_ajax_templately_check_conditions', [ $this, 'check_conditions' ] ); | |
| 34 | + add_action( 'wp_ajax_templately_conditions', [ $this, 'get_conditions' ] ); | |
| 35 | + add_action( 'wp_ajax_templately_save_conditions', [ $this, 'save_conditions' ] ); | |
| 36 | + add_action( 'wp_ajax_templately_check_conditions', [ $this, 'check_conditions' ] ); | |
| 37 | 37 | } |
| 38 | 38 | |
| 39 | 39 | public function get_conditions() { |
| 40 | 40 | $config = []; |