1 | <?php |
||
23 | class Kirki_Modules_Customizer_Branding { |
||
24 | |||
25 | /** |
||
26 | * The object instance. |
||
27 | * |
||
28 | * @static |
||
29 | * @access private |
||
30 | * @since 3.0.0 |
||
31 | * @var object |
||
32 | */ |
||
33 | private static $instance; |
||
34 | |||
35 | /** |
||
36 | * Constructor. |
||
37 | * |
||
38 | * @access protected |
||
39 | * @since 3.0.0 |
||
40 | */ |
||
41 | protected function __construct() { |
||
44 | |||
45 | /** |
||
46 | * Gets an instance of this object. |
||
47 | * Prevents duplicate instances which avoid artefacts and improves performance. |
||
48 | * |
||
49 | * @static |
||
50 | * @access public |
||
51 | * @since 3.0.0 |
||
52 | * @return object |
||
53 | */ |
||
54 | public static function get_instance() { |
||
60 | |||
61 | /** |
||
62 | * Enqueues the script responsible for branding the customizer |
||
63 | * and also adds variables to it using the wp_localize_script function. |
||
64 | * The actual branding is handled via JS. |
||
65 | * |
||
66 | * @access public |
||
67 | * @since 3.0.0 |
||
68 | */ |
||
69 | public function customize_controls_print_scripts() { |
||
89 | } |
||
90 |