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/single-course/buttons/finish.php +3 -1 4.1.7.1 → 4.4.9 View file →
@@ -12,9 +12,11 @@
12 12 defined( 'ABSPATH' ) || exit();
13 13 ?>
14 14
15 15 <form class="lp-form form-button form-button-finish-course" method="post" data-confirm="<?php echo LP_Strings::esc_attr( 'confirm-finish-course', '', array( $course->get_title() ) ); ?>" data-title="<?php echo esc_attr__( 'Finish course', 'learnpress' ); ?>">
16 - <button class="lp-button lp-btn-finish-course"><?php esc_html_e( 'Finish course', 'learnpress' ); ?></button>
16 + <button class="lp-button lp-btn-finish-course">
17 + <?php echo esc_html( apply_filters( 'learn-press/finish-course-button-text', esc_html__( 'Finish course', 'learnpress' ) ) ); ?>
18 + </button>
17 19 <input type="hidden" name="course-id" value="<?php echo esc_attr( $course->get_id() ); ?>"/>
18 20 <input type="hidden" name="finish-course-nonce" value="<?php echo esc_attr( wp_create_nonce( sprintf( 'finish-course-%d-%d', $course->get_id(), $user->get_id() ) ) ); ?>"/>
19 21 <input type="hidden" name="lp-ajax" value="finish-course"/>
20 22 <input type="hidden" name="noajax" value="yes"/>