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