1 | <?php |
||
16 | class Kirki_Custom_Build { |
||
17 | |||
18 | /** |
||
19 | * Is this a custom build? |
||
20 | * |
||
21 | * @static |
||
22 | * @access private |
||
23 | * @since 3.0.0 |
||
24 | * @var bool|null |
||
25 | */ |
||
26 | private static $is_custom_build = null; |
||
27 | |||
28 | /** |
||
29 | * An array of dependencies for the script. |
||
30 | * |
||
31 | * @static |
||
32 | * @access private |
||
33 | * @since 3.0.0 |
||
34 | * @var array |
||
35 | */ |
||
36 | private static $dependencies = array(); |
||
37 | |||
38 | /** |
||
39 | * Constructor. |
||
40 | * |
||
41 | * @access public |
||
42 | * @since 3.0.0 |
||
43 | */ |
||
44 | public function __construcr() { |
||
50 | |||
51 | /** |
||
52 | * Figure out if this is a custom build or not. |
||
53 | * |
||
54 | * @static |
||
55 | * @access public |
||
56 | * @since 3.0.0 |
||
57 | * @return bool |
||
58 | */ |
||
59 | public static function is_custom_build() { |
||
70 | |||
71 | /** |
||
72 | * Registers a dependency for the custom build JS. |
||
73 | * |
||
74 | * @static |
||
75 | * @access public |
||
76 | * @since 3.0.0 |
||
77 | * @param string $dependency The script's identifier. |
||
78 | */ |
||
79 | public static function register_dependency( $dependency ) { |
||
85 | |||
86 | /** |
||
87 | * Enqueues the scripts and styles we need. |
||
88 | * |
||
89 | * @access public |
||
90 | * @since 3.0.0 |
||
91 | */ |
||
92 | public function customize_controls_enqueue_scripts() { |
||
98 | } |
||
99 |