PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.9
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.9
4.4.9 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 All 140 releases
← All changes | templates/checkout/term-conditions.php +33 -33 4.3.8 → 4.4.9 View file →
@@ -1,33 +1,33 @@
1 -<?php
2 -/**
3 - * Template for displaying payment form for checkout page.
4 - *
5 - * This template can be overridden by copying it to yourtheme/learnpress/checkout/term-conditions.php.
6 - *
7 - * @author ThimPress
8 - * @package Learnpress/Templates
9 - * @version 4.0.0
10 - */
11 -
12 -defined( 'ABSPATH' ) || exit();
13 -
14 -$term_link = learn_press_get_page_link( 'term_conditions' );
15 -$term_text = learn_press_get_page_title( 'term_conditions' );
16 -
17 -if ( ! $term_link ) {
18 - return;
19 -}
20 -
21 -if ( ! $term_text ) {
22 - $term_text = esc_html__( 'Terms of Service', 'learnpress' );
23 -}
24 -?>
25 -
26 -<p class="lp-terms-and-conditions">
27 - <?php
28 - echo apply_filters(
29 - 'learn_press_content_item_protected_message',
30 - sprintf( __( 'By completing your purchase you agree to those <a href="%1$s" target="_blank">%2$s</a>.', 'learnpress' ), $term_link, $term_text )
31 - );
32 - ?>
33 -</p>
1 +<?php
2 +/**
3 + * Template for displaying payment form for checkout page.
4 + *
5 + * This template can be overridden by copying it to yourtheme/learnpress/checkout/term-conditions.php.
6 + *
7 + * @author ThimPress
8 + * @package Learnpress/Templates
9 + * @version 4.0.0
10 + */
11 +
12 +defined( 'ABSPATH' ) || exit();
13 +
14 +$term_link = learn_press_get_page_link( 'term_conditions' );
15 +$term_text = learn_press_get_page_title( 'term_conditions' );
16 +
17 +if ( ! $term_link ) {
18 + return;
19 +}
20 +
21 +if ( ! $term_text ) {
22 + $term_text = esc_html__( 'Terms of Service', 'learnpress' );
23 +}
24 +?>
25 +
26 +<p class="lp-terms-and-conditions">
27 + <?php
28 + echo apply_filters(
29 + 'learn_press_content_item_protected_message',
30 + sprintf( __( 'By completing your purchase you agree to those <a href="%1$s" target="_blank">%2$s</a>.', 'learnpress' ), $term_link, $term_text )
31 + );
32 + ?>
33 +</p>