Completed
Push — add/amp-pwa-experiment ( efea12 )
by
unknown
11:53
created

AMP_Customizer_Settings::get_stored_options()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
class AMP_Customizer_Settings {
4
	private static function get_stored_options() {
5
		return get_option( 'amp_customizer', array() );
6
	}
7
8
	public static function get_settings() {
9
		$settings = self::get_stored_options();
10
11
		return apply_filters( 'amp_customizer_get_settings', $settings );
12
	}
13
}
14