| @@ -14,9 +14,9 @@ | ||
| 14 | 14 | * @since 4.0.0 |
| 15 | 15 | * |
| 16 | 16 | * @see LP_Template_General::template_header() |
| 17 | 17 | */ |
| 18 | -if ( empty( $is_block_theme ) ) { | |
| 18 | +if ( ! wp_is_block_theme() ) { | |
| 19 | 19 | do_action( 'learn-press/template-header' ); |
| 20 | 20 | } |
| 21 | 21 | |
| 22 | 22 | /** |
| @@ -31,14 +31,8 @@ | ||
| 31 | 31 | ?> |
| 32 | 32 | <div id="popup-course" class="course-summary"> |
| 33 | 33 | <?php |
| 34 | 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 | 35 | * Get content item's course |
| 42 | 36 | * |
| 43 | 37 | * @since 3.0.0 |
| 44 | 38 | * |
| @@ -69,7 +63,7 @@ | ||
| 69 | 63 | * @since 4.0.0 |
| 70 | 64 | * |
| 71 | 65 | * @see LP_Template_General::template_footer() |
| 72 | 66 | */ |
| 73 | -if ( empty( $is_block_theme ) ) { | |
| 67 | +if ( ! wp_is_block_theme() ) { | |
| 74 | 68 | do_action( 'learn-press/template-footer' ); |
| 75 | 69 | } |