C:\xampp\htdocs\landing\wp-content\plugins\amp\includes\settings\class-amp-customizer-settings.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
<?php
/**
 * Class AMP_Customizer_Settings
 *
 * @package AMP
 */

/**
 * Class AMP_Customizer_Settings
 *
 * @internal
 */
class AMP_Customizer_Settings {

    
/**
     * Gets the AMP Customizer settings directly from the option.
     *
     * @since 0.6
     *
     * @return array Associative array of $setting => $value pairs.
     */
    
private static function get_stored_options() {
        return 
get_option'amp_customizer', [] );
    }

    
/**
     * Gets the AMP Customizer settings.
     *
     * @since 0.6
     *
     * @return array Associative array of $setting => $value pairs.
     */
    
public static function get_settings() {
        
$settings self::get_stored_options();

        
/**
         * Filters the AMP Customizer settings.
         *
         * @since 0.6
         *
         * @param array $settings Associative array of $setting => $value pairs.
         */
        
return apply_filters'amp_customizer_get_settings'$settings );
    }
}
x

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