buffer-output-interface.php
7 years ago
buffer-output-tag-interface.php
7 years ago
buffer-output-tag.php
7 years ago
buffer-output.php
7 years ago
buffer-output-interface.php
33 lines
| 1 | <?php |
| 2 | |
| 3 | namespace cookiebot_addons\lib\buffer; |
| 4 | |
| 5 | Interface Buffer_Output_Interface { |
| 6 | |
| 7 | /** |
| 8 | * @param $tag_name string Hook name |
| 9 | * @param $priority integer Hook priority |
| 10 | * @param array $keywords List of words to search for in the script |
| 11 | * @param boolean $use_cache Use Cache |
| 12 | * |
| 13 | * @since 1.2.0 |
| 14 | */ |
| 15 | public function add_tag( $tag_name, $priority, $keywords = array(), $use_cache = true ); |
| 16 | |
| 17 | /** |
| 18 | * Process every tag |
| 19 | * |
| 20 | * @since 1.2.0 |
| 21 | */ |
| 22 | public function run_actions(); |
| 23 | |
| 24 | /** |
| 25 | * Returns true if tags has more than 0 item |
| 26 | * |
| 27 | * @return bool |
| 28 | * |
| 29 | * @since 1.2.0 |
| 30 | */ |
| 31 | public function has_action(); |
| 32 | } |
| 33 |