= ( self::NOTICE_DAYS * 86400 ); } /** * Review Notice: * Content of the notice */ public static function notice_admin_review_content() { $link = 'https://wordpress.org/plugins/ai-image-generator-lab/'; // translators: 1 is the plugin name, 2 and 3 are tags $message = sprintf( esc_html__( 'Do you use the %1$s plugin? Please support us by %2$swriting a review%3$s.', 'wpz-ai-image-lab' ), 'AI Image Lab', '', '' ); printf( '

%1$s

', // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped $message ); } /** * Review Notice: * Triggered on dismiss notice button click */ public static function notice_admin_review_hide() { update_option( 'wpz_ai_image_lab_notice_hidden', 1 ); } } WPZ_Ai_Image_Lab_Notices::setup();