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