C:\xampp\htdocs\landing\wp-content\plugins\wordpress-seo\src\deprecated\admin\extensions.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
<?php
/**
 * WPSEO plugin file.
 *
 * @package WPSEO\Admin
 */

// phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound -- Reason: The class is deprecated.

/**
 * Represents the class that contains the list of possible extensions for Yoast SEO.
 *
 * @deprecated 15.4
 * @codeCoverageIgnore
 */
class WPSEO_Extensions {

    
/**
     * Checks if the plugin has been installed.
     *
     * @deprecated 15.4
     * @codeCoverageIgnore
     *
     * @param string $extension The name of the plugin to check.
     *
     * @return bool Returns true when installed.
     */
    
public function is_installed$extension ) {
        
_deprecated_function__METHOD__'WPSEO 15.4' );

        return 
false;
    }

    
/**
     * Invalidates the extension by removing its option.
     *
     * @deprecated 15.4
     * @codeCoverageIgnore
     *
     * @param string $extension The extension to invalidate.
     */
    
public function invalidate$extension ) {
        
_deprecated_function__METHOD__'WPSEO 15.4' );
    }

    
/**
     * Checks if the extension is valid.
     *
     * @deprecated 15.4
     * @codeCoverageIgnore
     *
     * @param string $extension The extension to get the name for.
     *
     * @return bool Returns true when valid.
     */
    
public function is_valid$extension ) {
        
_deprecated_function__METHOD__'WPSEO 15.4' );

        return 
false;
    }

    
/**
     * Returns the set extensions.
     *
     * @deprecated 15.4
     * @codeCoverageIgnore
     *
     * @return array All the extension names.
     */
    
public function get() {
        
_deprecated_function__METHOD__'WPSEO 15.4' );

        return [];
    }
}
// phpcs:enable
x

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