← Back
Editing: admin-dashboard-widget-stripe-connect.php
<?php /** * Admin: Product education dashboard widget Stripe connect * * @package SimplePay * @subpackage Core * @copyright Copyright (c) 2022, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 4.4.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; } $docs_url = simpay_docs_link( // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound 'Learn More', 'stripe-setup', 'dashboard-widget-connect', true ); ?> <div class="simpay-dashboard-widget-product-education"> <h2> <?php esc_html_e( 'Connect with Stripe to use WP Simple Pay', 'stripe' ); ?> </h2> <p> <?php esc_html_e( 'Stripe Connect is the most secure, safe and reliable way to integrate Stripe with your website. Connect now to start accepting payments with WP Simple Pay.', 'stripe' ); ?> </p> <p> <?php echo simpay_get_stripe_connect_button() // PHPCS:ignore: WordPress.Security.EscapeOutput.OutputNotEscaped ?> <a href="<?php echo esc_url( $docs_url ); ?>" class="button button-secondary" target="_blank" rel="noopener noreferrer" style="margin-left: 5px;"> <?php esc_html_e( 'Learn More', 'stripe' ); ?> </a> </p> </div>
Save File
Cancel