1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<?php
namespace Yoast\WP\SEO\Conditionals;
/** * Conditional that is only met when Jetpack exists. */ class Jetpack_Conditional implements Conditional {
/** * Returns `true` when the Jetpack plugin exists on this * WordPress installation. * * @returns boolean `true` when the Jetpack plugin exists on this WordPress installation. */ public function is_met() { return \class_exists( 'Jetpack' ); } }
|