1 | <?php |
||
23 | class StyleHandler extends AbstractDependencyHandler { |
||
24 | |||
25 | /** |
||
26 | * Get the name of the function that is used for registering the dependency. |
||
27 | * |
||
28 | * @since 0.1.0 |
||
29 | * |
||
30 | * @return string Function name. |
||
31 | */ |
||
32 | protected function get_register_function() { |
||
35 | |||
36 | /** |
||
37 | * Check whether a specific handle has been registered. |
||
38 | * |
||
39 | * @since 0.2.3 |
||
40 | * @since 0.3.3 Publicly accessible. |
||
41 | * |
||
42 | * @param string $handle The handle to check |
||
43 | * @return bool Whether it is registered or not. |
||
44 | */ |
||
45 | public function is_registered( $handle ) { |
||
48 | |||
49 | /** |
||
50 | * Check whether a specific handle has been enqueued. |
||
51 | * |
||
52 | * @since 0.3.3 |
||
53 | * |
||
54 | * @param string $handle The handle to check |
||
55 | * @return bool Whether it is enqueued or not. |
||
56 | */ |
||
57 | public function is_enqueued( $handle ) { |
||
60 | |||
61 | /** |
||
62 | * Get the name of the function that is used for enqueueing the dependency. |
||
63 | * |
||
64 | * @since 0.1.0 |
||
65 | * |
||
66 | * @return string Function name. |
||
67 | */ |
||
68 | protected function get_enqueue_function() { |
||
71 | } |
||
72 |