C:\xampp\htdocs\landing\wp-content\plugins\health-check\pages\tools.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
<?php
/**
 * Health Check tab contents.
 *
 * @package Health Check
 */

// Make sure the file is not directly accessible.
if ( ! defined'ABSPATH' ) ) {
    die( 
'We\'re sorry, but you can not directly access this file.' );
}

?>

<h2>
    <?php esc_html_e'Tools''health-check' ); ?>
</h2>

<div id="health-check-tools" role="presentation" class="health-check-accordion">
    <?php
    
/**
     * Filter the features available under the Tools tab.
     *
     * You may introduce your own, or modify the behavior of existing tools here,
     * although we recommend not modifying anything provided by the plugin it self.
     *
     * Any interactive elements should be introduced using JavaScript and/or CSS, either
     * inline, or by enqueueing them via the appropriate actions.
     *
     * @param array $args {
     *     An unassociated array of tabs, listed in the order they are registered.
     *
     *     @type array $tab {
     *         An associated array containing the tab title, and content.
     *
     *         @type string $label   A pre-escaped string used to label your tool section.
     *         @type string $content The content of your tool tab, with any code you may need.
     *     }
     * }
     */
    
$tabs apply_filters'health_check_tools_tab', array() );

    foreach ( 
$tabs as $count => $tab ) :
        
?>

    <h3 class="health-check-accordion-heading">
        <button aria-expanded="false" class="health-check-accordion-trigger" aria-controls="health-check-accordion-block-<?php echo esc_attr$count ); ?>" type="button">
            <span class="title">
                <?php echo $tab['label']; ?>
            </span>
            <span class="icon"></span>
        </button>
    </h3>
    <div id="health-check-accordion-block-<?php echo esc_attr$count ); ?>" class="health-check-accordion-panel" hidden="hidden">
        <?php echo $tab['content']; ?>
    </div>

    <?php endforeach; ?>
</div>

<?php
include_once( HEALTH_CHECK_PLUGIN_DIRECTORY '/modals/diff.php' );
x

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