C:\xampp\htdocs\landing\wp-content\plugins\wordpress-seo\src\conditionals\front-end-conditional.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php

namespace Yoast\WP\SEO\Conditionals;

/**
 * Conditional that is only met when NOT in the admin.
 */
class Front_End_Conditional implements Conditional {

    
/**
     * Returns `true` when NOT on an admin page.
     *
     * @returns boolean `true` when NOT on an admin page.
     */
    
public function is_met() {
        return ! \
is_admin();
    }
}
x

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