get_products(); if ( empty( $products ) ) : return; endif; $slug = Charitable_Addons_Directory::get_current_plan_slug(); $is_legacy = Charitable_Addons_Directory::is_current_plan_legacy(); if ( false !== $slug && strtolower( $slug ) !== 'lite' && ! $is_legacy ) { // there is a valid legacy license present $new_tab_notification = '
' . sprintf( wp_kses( /* translators: %s - charitable.com upgrade URL. */ __( 'You already have a non-legacy license activate on this install, which you can deactivate in the "General" tab.', 'charitable' ), [ 'a' => [ 'href' => [], 'class' => [], 'target' => [], 'rel' => [], ], 'br' => [], 'strong' => [], ] ), esc_url( admin_url( 'admin.php?page=charitable-settings&tab=general' ) ) ) . '
'; ?>