PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.1
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.1
4.4.7 4.4.6 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 4.4.0 4.3.9.1 4.3.9 4.3.8 4.3.7 4.1.6.9 4.1.6.9.1 4.1.6.9.2 4.1.6.9.3 4.1.6.9.4 4.1.7 4.1.7.1 4.1.7.2 4.1.7.3 4.1.7.3.1 4.1.7.3.2 4.2.0 4.2.1 All 138 releases
learnpress / inc / admin / views / setup / steps / payment.php

payment.php in LearnPress – WordPress LMS Plugin for Create and Sell Online Courses 4.4.1, at inc/admin/views/setup/steps/payment.php

39 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Template for displaying payments of setup wizard.
4 *
5 * @author ThimPres
6 * @package LearnPress/Admin/Views
7 * @version 3.0.0
8 */
9
10 defined( 'ABSPATH' ) or exit;
11
12 $wizard = LP_Setup_Wizard::instance();
13 $payments = $wizard->get_payments();
14
15 ?>
16 <h2><?php _e( 'Payment', 'learnpress' ); ?></h2>
17
18 <p class="large-text"><?php _e( 'LearnPress can accept both online and offline payments. Additional payment addons can be installed later.', 'learnpress' ); ?></p>
19
20 <ul class="browse-payments">
21 <?php foreach ( $payments as $slug => $payment ) { ?>
22 <li class="payment payment-<?php echo esc_attr( $slug ); ?>">
23 <h3 class="payment-name">
24 <?php if ( ! empty( $payment['icon'] ) ) { ?>
25 <img src="<?php echo esc_url_raw( $payment['icon'] ); ?>">
26 <?php } else { ?>
27 <?php echo esc_html( $payment['name'] ); ?>
28 <?php } ?>
29 </h3>
30 <?php if ( ! empty( $payment['desc'] ) ) { ?>
31 <p class="payment-desc"><?php echo wp_kses_post( $payment['desc'] ); ?></p>
32 <?php } ?>
33 <div class="payment-settings">
34 <?php call_user_func( $payment['callback'] ); ?>
35 </div>
36 </li>
37 <?php } ?>
38 </ul>
39