# learnpress/4.4.6/templates/pages/checkout.php

LearnPress – WordPress LMS Plugin for Create and Sell Online Courses, version 4.4.6. 47 lines.

- Page: https://pluginprobe.com/plugins/learnpress/4.4.6/code/templates/pages/checkout.php
- Raw: https://pluginprobe.com/plugins/learnpress/4.4.6/raw/templates/pages/checkout.php
- Modified: 2026-08-31T10:33:54+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/learnpress/4.4.6/code/templates/pages/checkout.php#L10-L20`.

```php
<?php
/**
 * Template for displaying content of page for processing checkout feature.
 *
 * @author   ThimPress
 * @package  LearnPress/Templates
 * @version  4.0.2
 */

defined( 'ABSPATH' ) or die;

if ( ! wp_is_block_theme() ) {
	do_action( 'learn-press/template-header' );
}

do_action( 'learn-press/before-main-content' );
do_action( 'learnpress/template/pages/checkout/before-content' );


echo '<h1 class="lp-content-area">' . get_the_title() . '</h1>';

/**
 * LP Hook
 *
 * @since 4.0.0
 */
do_action( 'learn-press/before-checkout-page' );

// Shortcode for displaying checkout form
echo do_shortcode( '[learn_press_checkout]' );

/**
 * LP Hook
 *
 * @since 4.0.0
 */
do_action( 'learn-press/after-checkout-page' );
?>

<?php
do_action( 'learnpress/template/pages/checkout/after-content' );
do_action( 'learn-press/after-main-content' );

if ( ! wp_is_block_theme() ) {
	do_action( 'learn-press/template-footer' );
}

```
