Skip to content

Commit bf5002c

Browse files
Merge pull request #207 from huzaifaalmesbah/docs/fix-inline-documentation
Docs: Fix missing global tag and remove non-standard hook tag Co-authored-by: huzaifaalmesbah <huzaifaalmesbah@git.wordpress.org>
2 parents 8b32903 + b8c3e49 commit bf5002c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

includes/bootstrap.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ static function () {
9494
*
9595
* @since 0.1.0
9696
*
97+
* @global string $wp_version WordPress version.
98+
*
9799
* @return bool True if WordPress version is sufficient, false otherwise.
98100
*/
99101
function check_wp_version(): bool {

includes/helpers.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ function get_preferred_models_for_text_generation(): array {
161161
* Filters the preferred models for text generation.
162162
*
163163
* @since 0.2.1
164-
* @hook ai_experiments_preferred_models_for_text_generation
165164
*
166165
* @param array<int, array{string, string}> $preferred_models The preferred models for text generation.
167166
* @return array<int, array{string, string}> The filtered preferred models.

0 commit comments

Comments
 (0)