diff --git a/.phpcs.xml b/.phpcs.xml index 7628173..d6f7cba 100644 --- a/.phpcs.xml +++ b/.phpcs.xml @@ -13,14 +13,32 @@ - - + + + + + + + + + + + + + + + + + + + + diff --git a/includes/AltGenerator.php b/includes/AltGenerator.php index 124df96..dd7e37d 100644 --- a/includes/AltGenerator.php +++ b/includes/AltGenerator.php @@ -25,7 +25,7 @@ public static function generate_alt_text( int $attachment_id ): string|WP_Error $language = locale_get_display_language( $locale ); $user_prompt = apply_filters( - 'acp/ai-alt-generator/user-prompt', + 'acp/ai_alt_generator/user_prompt', "Generate a high-quality and concise alt text in $language ($locale) for the provided image without adding any additional comments.", $locale, $language