PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.2.1
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.2.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 / templates / pages / checkout.php

checkout.php in LearnPress – WordPress LMS Plugin for Create and Sell Online Courses 4.2.1, at templates/pages/checkout.php

52 lines 947 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Template for displaying content of page for processing checkout feature.
4 *
5 * @author ThimPress
6 * @package LearnPress/Templates
7 * @version 4.0.1
8 */
9
10 defined( 'ABSPATH' ) or die;
11
12 if ( empty( $is_block_theme ) ) {
13 get_header();
14 }
15
16 do_action( 'learn-press/before-main-content' );
17 do_action( 'learnpress/template/pages/checkout/before-content' );
18 ?>
19
20 <div id="learn-press-checkout" class="lp-content-wrap">
21
22 <h2><?php the_title(); ?></h2>
23
24 <?php
25 /**
26 * LP Hook
27 *
28 * @since 4.0.0
29 */
30 do_action( 'learn-press/before-checkout-page' );
31
32 // Shortcode for displaying checkout form
33 echo do_shortcode( '[learn_press_checkout]' );
34
35 /**
36 * LP Hook
37 *
38 * @since 4.0.0
39 */
40 do_action( 'learn-press/after-checkout-page' );
41 ?>
42
43 </div>
44
45 <?php
46 do_action( 'learnpress/template/pages/checkout/after-content' );
47 do_action( 'learn-press/after-main-content' );
48
49 if ( empty( $is_block_theme ) ) {
50 get_footer();
51 }
52