Skip to content

Commit 373eda4

Browse files
authored
Merge pull request #1015 from shadyvb/docs-extending
Add extending documentation
2 parents 0095149 + a815fad commit 373eda4

File tree

4 files changed

+891
-1
lines changed

4 files changed

+891
-1
lines changed

wp-hooks-docs/docs/01.get-started/04.faq.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,7 @@ We recommend that you are transparent with your users that AI tools are being us
2727
### When a post is sent to OpenAI (e.g. to generate a title or excerpt), is the post content fed into OpenAI and used for other customers?
2828

2929
According to OpenAI, they do not train their models on any data that is sent via API requests (see https://openai.com/enterprise-privacy). OpenAI may keep the data for up to 30 days to identify abuse, though you can request zero data retention (ZDR) with a qualifying use-case.
30+
31+
### How can I extend ClassifAI with a new Feature?
32+
33+
Please refer to the [Extending ClassifAI](../03.advanced-docs/09.extending-classifai.md) page.

wp-hooks-docs/docs/03.advanced-docs/01.useful-snippets.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,9 @@ add_action( 'admin_enqueue_scripts', 'my_provider_enqueue_admin_assets' );
298298

299299
## Add a new Feature
300300

301-
Starting in ClassifAI 3.0.0, it is easier to add your own Features. Most of the implementation details are left to you but there are a few key steps that need to be followed:
301+
Starting in ClassifAI 3.0.0, it is easier to add your own Features. For a full step-by-step tutorial on how to add a new Feature, please refer to the [Extending ClassifAI](./09.extending-classifai.md) page.
302+
303+
Most of the implementation details are left to you but there are a few key steps that need to be followed:
302304

303305
1. **Create a new Feature class**: This class should extend the base ClassifAI `Feature` class and setup all required methods.
304306

0 commit comments

Comments
 (0)