PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.8
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.8
4.4.8 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 All 139 releases
← All changes | inc/admin/meta-box/fields/payment-order.php +42 -32 4.3.84.4.8 View file →
@@ -1,32 +1,42 @@
1 -<?php $gateways = LP_Gateways::instance()->get_gateways(); ?>
2 -
3 -<table class="learn-press-payments<?php echo sizeof( $gateways ) > 1 ? ' sortable' : ''; ?>">
4 - <thead>
5 - <tr>
6 - <th class="order"></th>
7 - <th class="name"><?php esc_html_e( 'Payment', 'learnpress' ); ?></th>
8 - <th class="id"><?php esc_html_e( 'ID', 'learnpress' ); ?></th>
9 - <th class="description"><?php esc_html_e( 'Description', 'learnpress' ); ?></th>
10 - <th class="status"><?php esc_html_e( 'Enable/Disable', 'learnpress' ); ?></th>
11 - </tr>
12 - </thead>
13 -
14 - <tbody>
15 - <?php foreach ( $gateways as $gateway ) : ?>
16 - <tr id="payment-<?php echo esc_attr( $gateway->get_id() ); ?>" data-payment="<?php echo esc_attr( $gateway->get_id() ); ?>">
17 - <td class="order"><span class="dashicons dashicons-menu"></span></td>
18 - <td class="name">
19 - <a href="<?php echo esc_url_raw( admin_url( 'admin.php?page=learn-press-settings&tab=payments&section=' . $gateway->get_id() ) ); ?>">
20 - <?php echo esc_html( $gateway->get_method_title() ); ?>
21 - </a>
22 - </td>
23 - <td class="id"><?php echo esc_html( $gateway->get_id() ); ?></td>
24 - <td class="description"><?php echo wp_kses_post( $gateway->get_method_description() ); ?></td>
25 - <td class="status<?php echo esc_attr( $gateway->is_enabled() ? ' enabled' : '' ); ?>">
26 - <span class="dashicons dashicons-yes"></span>
27 - <input type="hidden" name="payment-order" value="<?php echo esc_attr( $gateway->get_id() ); ?>"/>
28 - </td>
29 - </tr>
30 - <?php endforeach; ?>
31 - </tbody>
32 -</table>
1 +<?php $gateways = LP_Gateways::instance()->get_gateways(); ?>
2 +
3 +<table class="learn-press-payments<?php echo sizeof( $gateways ) > 1 ? ' sortable' : ''; ?>">
4 + <thead>
5 + <tr>
6 + <th class="order"></th>
7 + <th class="name"><?php esc_html_e( 'Payment', 'learnpress' ); ?></th>
8 + <th class="id"><?php esc_html_e( 'ID', 'learnpress' ); ?></th>
9 + <th class="description"><?php esc_html_e( 'Description', 'learnpress' ); ?></th>
10 + <th class="status"><?php esc_html_e( 'Enable/Disable', 'learnpress' ); ?></th>
11 + </tr>
12 + </thead>
13 +
14 + <tbody>
15 + <?php foreach ( $gateways as $gateway ) : ?>
16 + <tr id="payment-<?php echo esc_attr( $gateway->get_id() ); ?>" data-payment="<?php echo esc_attr( $gateway->get_id() ); ?>">
17 + <td class="order"><span class="dashicons dashicons-menu"></span></td>
18 + <td class="name">
19 + <a href="<?php echo esc_url_raw( admin_url( 'admin.php?page=learn-press-settings&tab=payments&section=' . $gateway->get_id() ) ); ?>">
20 + <?php echo esc_html( $gateway->get_method_title() ); ?>
21 + </a>
22 + </td>
23 + <td class="id"><?php echo esc_html( $gateway->get_id() ); ?></td>
24 + <td class="description"><?php echo wp_kses_post( $gateway->get_method_description() ); ?></td>
25 + <td class="status<?php echo esc_attr( $gateway->is_enabled() ? ' enabled' : '' ); ?>">
26 + <span class="dashicons dashicons-yes"></span>
27 + <input type="hidden" name="payment-order" value="<?php echo esc_attr( $gateway->get_id() ); ?>"/>
28 + </td>
29 + </tr>
30 + <?php endforeach; ?>
31 + </tbody>
32 +</table>
33 +
34 +<div class="lp-payment-addons-promo">
35 + <p>
36 + <?php esc_html_e( 'Need more payment options?', 'learnpress' ); ?>
37 + <a href="https://thimpress.com/product-tag/payment/" target="_blank" rel="noopener noreferrer" class="lp-payment-addons-promo__link">
38 + <?php esc_html_e( 'Explore Addons', 'learnpress' ); ?>
39 + <span class="dashicons dashicons-external"></span>
40 + </a>
41 + </p>
42 +</div>