PluginProbe
BlockSpare – Gutenberg Blocks, AI Content Generator & Site Builder for News, Magazine & Blogs / 5.0.1
BlockSpare – Gutenberg Blocks, AI Content Generator & Site Builder for News, Magazine & Blogs v5.0.1
5.0.1 4.1.0 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.1.0 1.1.1 1.1.2 1.2.0 1.2.1 1.2.2 1.2.3 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 2.1.2 2.5.0 2.5.3 All 39 releases
blockspare / inc / ai / class-ai.php

class-ai.php in BlockSpare – Gutenberg Blocks, AI Content Generator & Site Builder for News, Magazine & Blogs 5.0.1, at inc/ai/class-ai.php

36 lines 706 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 if (! defined('ABSPATH')) {
4 exit;
5 }
6
7 require_once BLOCKSPARE_PLUGIN_DIR . 'inc/ai/class-blockspare-ai-settings.php';
8 require_once BLOCKSPARE_PLUGIN_DIR . 'inc/ai/class-blockspare-ai-rest-api.php';
9
10 /**
11 * Bootstraps the AI content generation feature: wires the settings
12 * screen and the REST API endpoint together.
13 */
14 class Blockspare_AI_Content_Generator
15 {
16
17 /**
18 * @var Blockspare_AI_Settings
19 */
20 private $settings;
21
22 /**
23 * @var Blockspare_AI_REST_API
24 */
25 private $rest_api;
26
27
28 public function __construct()
29 {
30 $this->settings = new Blockspare_AI_Settings();
31 $this->rest_api = new Blockspare_AI_REST_API($this->settings);
32 }
33 }
34
35 new Blockspare_AI_Content_Generator();
36