C:\xampp\htdocs\landing\wp-content\plugins\hummingbird-performance\admin\views\meta-box.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<?php
/**
 * Meta box template.
 *
 * @package Hummingbird
 *
 * @var callable $callback_header
 * @var callable $callback_footer
 * @var string   $orig_id
 */

if ( ! defined'ABSPATH' ) ) {
    exit;
}

?>

<div id="wphb-box-<?php echo esc_attr$id ); ?>" class="box-<?php echo esc_attr$id ); ?> <?php echo esc_attr$args['box_class'] ); ?>">

    <?php if ( is_callable$callback_header ) ) : ?>
        <div class="<?php echo esc_attr$args['box_header_class'] ); ?>">
            <?php call_user_func$callback_header ); ?>
        </div><!-- end sui-box-title -->
    <?php elseif ( $this->view_exists$orig_id '/meta-box-header' ) ) : ?>
        <div class="<?php echo esc_attr$args['box_header_class'] ); ?>">
            <?php
            $this
->view(
                
$orig_id '/meta-box-header',
                array(
                    
'title' => $title,
                )
            );
            
?>
        </div><!-- end sui-box-title -->
    <?php elseif ( $this->view_exists$orig_id '-meta-box-header' ) ) : ?>
        <div class="<?php echo esc_attr$args['box_header_class'] ); ?>">
            <?php
            $this
->view(
                
$orig_id '-meta-box-header',
                array(
                    
'title' => $title,
                )
            );
            
?>
        </div><!-- end sui-box-title -->
    <?php elseif ( $title ) : ?>
        <div class="<?php echo esc_attr$args['box_header_class'] ); ?>">
            <h3  class="sui-box-title"><?php echo esc_html$title ); ?></h3>
        </div><!-- end sui-box-title -->
    <?php endif; ?>

    <?php if ( $args['box_content_class'] ) : ?>
        <div class="<?php echo esc_attr$args['box_content_class'] ); ?>">
            <?php if ( is_callable$callback ) ) : ?>
                <?php call_user_func$callback ); ?>
            <?php else : ?>
                <?php $this->view$orig_id '-meta-box' ); ?>
            <?php endif; ?>
        </div><!-- end box_content_class -->
    <?php else : ?>
        <?php
        
if ( is_callable$callback ) ) {
            
call_user_func$callback );
        } else {
            
$this->view$orig_id '-meta-box' );
        }
        
?>
    <?php endif; ?>

    <?php if ( is_callable$callback_footer ) ) : ?>
        <div class="<?php echo esc_attr$args['box_footer_class'] ); ?>">
            <?php call_user_func$callback_footer ); ?>
        </div><!-- end sui-box-footer -->
    <?php elseif ( $this->view_exists$orig_id '/meta-box-footer' ) ) : ?>
        <div class="<?php echo esc_attr$args['box_footer_class'] ); ?>">
            <?php $this->view$orig_id '/meta-box-footer' ); ?>
        </div><!-- end sui-box-footer -->
    <?php elseif ( $this->view_exists$orig_id '-meta-box-footer' ) ) : ?>
        <div class="<?php echo esc_attr$args['box_footer_class'] ); ?>">
            <?php $this->view$orig_id '-meta-box-footer' ); ?>
        </div><!-- end sui-box-footer -->
    <?php endif; ?>

</div><!-- end box-<?php echo esc_attr$id ); ?> -->
x

Windows NT KPTV 6.2 build 9200 (Windows Server 2012 Datacenter Edition) i586