id) || strpos($screen->id, 'ai-image-alt-text') === false) { return; } $api_key = AIT_IAT_Settings::get('openai_api_key'); if (empty($api_key)) { echo '
'; echo '

' . esc_html__( 'Please set your ', 'ai-image-alt-text' ) . '' . esc_html( 'OpenAI API key', 'ai-image-alt-text' ) . '' . esc_html( ' in the plugin settings to enable alt text generation.', 'ai-image-alt-text' ) . '

'; echo '

' . esc_html__( 'Please follow the walk-through video below if you need help creating an API key.', 'ai-image-alt-text' ) . '

'; echo '
'; echo '
'; echo ''; echo '
'; echo '
'; echo '
'; } if (AIT_IAT_Alt_Generator::is_monthly_limit_exceeded()) { echo '
'; echo '

' . esc_html__( 'You have reached the 25-image rolling monthly generation limit. Upgrade to Pro for unlimited usage.', 'ai-image-alt-text' ) . '

'; echo '
'; } if ($notice = get_option('ait_iat_admin_notice')) { echo '

' . esc_html($notice) . '

'; delete_option('ait_iat_admin_notice'); } // Until midnight Oct 17th, 2025 if ( ! $is_pro && time() < 1760759940 ) { echo '
'; echo '

' . esc_html__( 'Use the code early_adopter_pro to get a free 1-year pro license as a thank you for being an early adopter. Expires October 17th, 2025.', 'ai-image-alt-text' ) . '

'; echo '
'; } } } ?>