id, 'toplevel_page_activelayer' ) === 0 || strpos( $screen->id, 'activelayer_page_' ) === 0; } /** * Render the notice. * * @since 1.3.0 */ private static function render(): void { $integrations_url = esc_url( admin_url( 'admin.php?page=activelayer-integrations' ) ); $link_open = ''; $link_close = ''; $html = '
' . sprintf( /* translators: 1: opening anchor tag, 2: closing anchor tag. */ esc_html__( 'ActiveLayer now protects all supported forms by default. Every supported form and WooCommerce surface is automatically protected once your API key is connected. You can disable protection per form in %1$sintegration settings%2$s. If protection didn\'t activate on a specific form, re-save it in the form builder.', 'activelayer-anti-spam-spam-protection-for-forms-comments' ), $link_open, $link_close ) . '
'; echo '