| @@ -34,11 +34,11 @@ | ||
| 34 | 34 | public function __construct() { |
| 35 | 35 | $this->ai_data = AIFns::activated_ai_data(); |
| 36 | 36 | $this->initialize(); |
| 37 | 37 | $this->metabox_and_assets(); |
| 38 | - $this->embedding(); | |
| 39 | 38 | if ( $this->ai_data ) { |
| 40 | 39 | $this->ajax_action(); |
| 40 | + $this->embedding(); | |
| 41 | 41 | } |
| 42 | 42 | } |
| 43 | 43 | |
| 44 | 44 | /** |