Skip to content

Commit 30fb5be

Browse files
committed
Load after WP to access plugins
1 parent 6cc55bc commit 30fb5be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AiCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class AiCommand extends WP_CLI_Command {
3737
* $ wp ai "create 10 test posts about swiss recipes and include generated featured images"
3838
* Success: Hello World!
3939
*
40-
* @when before_wp_load
40+
* @when after_wp_load
4141
*
4242
* @param array $args Indexed array of positional arguments.
4343
* @param array $assoc_args Associative array of associative arguments.

0 commit comments

Comments
 (0)