PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.1
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.1
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 / content-single-item.php

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

70 lines 1.1 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 ( ! wp_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 * Get content item's course
36 *
37 * @since 3.0.0
38 *
39 * @see LP_Template_Course::popup_content() - 30
40 */
41 do_action( 'learn-press/single-item-summary' );
42 ?>
43 </div>
44 <?php
45
46 /**
47 * LP Hook
48 *
49 * @since 3.0.0
50 */
51 do_action( 'learn-press/after-main-content' );
52
53 /**
54 * LP Hook
55 *
56 * @since 3.0.0
57 */
58 do_action( 'learn-press/after-single-course' );
59
60 /**
61 * LP Hook
62 *
63 * @since 4.0.0
64 *
65 * @see LP_Template_General::template_footer()
66 */
67 if ( ! wp_is_block_theme() ) {
68 do_action( 'learn-press/template-footer' );
69 }
70