Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
50.00% |
1 / 2 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
||
| 1 | <?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName |
| 2 | /** |
| 3 | * Module Name: AI |
| 4 | * Module Description: Turn your ideas into ready-to-publish content and generate images with the power of AI. |
| 5 | * Sort Order: 40 |
| 6 | * Recommendation Order: 15 |
| 7 | * First Introduced: 16.2-a.3 |
| 8 | * Requires Connection: Yes |
| 9 | * Requires User Connection: Yes |
| 10 | * Auto Activate: Yes |
| 11 | * Module Tags: Writing |
| 12 | * Feature: Writing |
| 13 | * Additional Search Queries: ai, artificial intelligence, jetpack ai, ai assistant, generate, content, images |
| 14 | * |
| 15 | * @package automattic/jetpack |
| 16 | */ |
| 17 | |
| 18 | if ( ! defined( 'ABSPATH' ) ) { |
| 19 | exit( 0 ); |
| 20 | } |
| 21 | |
| 22 | /* |
| 23 | * This module is intentionally a toggle only: it bootstraps no code of its own. |
| 24 | * |
| 25 | * Jetpack AI enforcement already lives in `_inc/lib/class-jetpack-ai-settings.php`, |
| 26 | * which self-initializes on load, so there is nothing to wire up here. The module |
| 27 | * exists so that Jetpack AI can be turned on and off site-wide through the standard |
| 28 | * Jetpack module machinery (and, for existing sites, keep auto-enabling on connection |
| 29 | * via the normal module upgrade routine). Deliberately leave the body empty. |
| 30 | */ |