PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.3.8
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.3.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 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.3.8, at templates/pages/checkout.php

47 lines 972 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.2
8 */
9
10 defined( 'ABSPATH' ) or die;
11
12 if ( ! wp_is_block_theme() ) {
13 do_action( 'learn-press/template-header' );
14 }
15
16 do_action( 'learn-press/before-main-content' );
17 do_action( 'learnpress/template/pages/checkout/before-content' );
18
19
20 echo '<h1 class="lp-content-area">' . get_the_title() . '</h1>';
21
22 /**
23 * LP Hook
24 *
25 * @since 4.0.0
26 */
27 do_action( 'learn-press/before-checkout-page' );
28
29 // Shortcode for displaying checkout form
30 echo do_shortcode( '[learn_press_checkout]' );
31
32 /**
33 * LP Hook
34 *
35 * @since 4.0.0
36 */
37 do_action( 'learn-press/after-checkout-page' );
38 ?>
39
40 <?php
41 do_action( 'learnpress/template/pages/checkout/after-content' );
42 do_action( 'learn-press/after-main-content' );
43
44 if ( ! wp_is_block_theme() ) {
45 do_action( 'learn-press/template-footer' );
46 }
47