PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.1.7.3
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.1.7.3
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 4.2.0 All 139 releases
learnpress / templates / content-single-item.php

content-single-item.php in LearnPress – WordPress LMS Plugin for Create and Sell Online Courses 4.1.7.3, at templates/content-single-item.php

76 lines 1.2 KB
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 single course with curriculum and
4 * item's content inside it
5 *
6 * @author ThimPress
7 * @package LearnPress/Templates
8 * @version 4.0.0
9 */
10
11 defined( 'ABSPATH' ) || exit();
12
13 /**
14 * @since 4.0.0
15 *
16 * @see LP_Template_General::template_header()
17 */
18 if ( empty( $is_block_theme ) ) {
19 do_action( 'learn-press/template-header' );
20 }
21
22 /**
23 * LP Hook
24 */
25 do_action( 'learn-press/before-main-content' );
26
27 /**
28 * LP Hook
29 */
30 do_action( 'learn-press/before-single-item' );
31 ?>
32 <div id="popup-course" class="course-summary">
33 <?php
34 /**
35 * @since 4.0.6
36 * @see single-button-toggle-sidebar - 5
37 */
38 do_action( 'learn-press/single-button-toggle-sidebar' );
39
40 /**
41 * Get content item's course
42 *
43 * @since 3.0.0
44 *
45 * @see LP_Template_Course::popup_content() - 30
46 */
47 do_action( 'learn-press/single-item-summary' );
48 ?>
49 </div>
50 <?php
51
52 /**
53 * LP Hook
54 *
55 * @since 3.0.0
56 */
57 do_action( 'learn-press/after-main-content' );
58
59 /**
60 * LP Hook
61 *
62 * @since 3.0.0
63 */
64 do_action( 'learn-press/after-single-course' );
65
66 /**
67 * LP Hook
68 *
69 * @since 4.0.0
70 *
71 * @see LP_Template_General::template_footer()
72 */
73 if ( empty( $is_block_theme ) ) {
74 do_action( 'learn-press/template-footer' );
75 }
76