PluginProbe ʕ •ᴥ•ʔ
LatePoint – Calendar Booking Plugin for Appointments and Events / 5.5.2
LatePoint – Calendar Booking Plugin for Appointments and Events v5.5.2
5.6.6 5.6.5 5.6.4 5.6.3 5.6.2 5.6.1 5.6.0 5.5.2 5.5.1 5.5.0 5.4.2 trunk 5.1.0 5.1.1 5.1.2 5.1.3 5.1.4 5.1.5 5.1.6 5.1.7 5.1.8 5.1.9 5.1.91 5.1.92 5.1.93 5.1.94 5.2.0 5.2.1 5.2.10 5.2.11 5.2.2 5.2.3 5.2.4 5.2.5 5.2.6 5.2.7 5.2.8 5.2.9 5.3.0 5.3.1 5.3.2 5.4.0 5.4.1
latepoint / lib / views / layouts / clean.php
latepoint / lib / views / layouts Last commit date
admin.php 1 year ago clean.php 4 months ago full_modal.php 1 year ago mailer.php 1 year ago print.php 1 year ago pure.php 1 year ago wizard.php 1 year ago
clean.php
44 lines
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 exit; // Exit if accessed directly
4 }
5 add_filter( 'show_admin_bar', '__return_false' );
6 remove_action( 'wp_head', '_admin_bar_bump_cb' );
7 remove_action( 'wp_footer', 'wp_admin_bar_render', 1000 );
8
9 // remove these to prevent deprecating warnings
10 remove_action( 'wp_head', 'print_emoji_detection_script', 7 );
11 remove_action( 'admin_print_scripts', 'print_emoji_detection_script' );
12 remove_action( 'wp_print_styles', 'print_emoji_styles' );
13 remove_action( 'admin_print_styles', 'print_emoji_styles' );
14 remove_action( 'wp_head', 'wp_admin_bar_header' );
15 remove_action( 'wp_admin_head', 'wp_admin_bar_header' );
16
17
18 do_action('wp_enqueue_scripts');
19 // load custom css and js files to enque because we are not using wp_head and wp_footer
20
21 $patterns = OsSettingsHelper::instant_page_background_patterns();
22 $background_pattern_css = '';
23 if(!empty($background_pattern) && !empty($patterns[$background_pattern])) {
24 $background_pattern_css = $patterns[$background_pattern];
25 }
26
27
28 ?>
29 <!DOCTYPE html>
30 <html lang="en" class="latepoint-clean">
31 <head>
32 <meta charset="UTF-8">
33 <meta name="viewport" content="width=device-width, initial-scale=1">
34 <title><?php echo $page_title ?? get_bloginfo('name'); ?></title>
35 <?php echo OsUtilHelper::generate_css_for_clean_layout(); ?>
36 </head>
37 <body class="latepoint-clean-body with-pattern latepoint" style="<?php echo esc_attr($background_pattern_css); ?>">
38 <div class="latepoint-w">
39 <?php include( $view ); ?>
40 </div>
41 <?php echo OsUtilHelper::generate_js_for_clean_layout(); ?>
42 </body>
43 </html>
44 <?php exit(200);