admin-notices-it.php
20 lines
| 1 | <?php |
| 2 | |
| 3 | |
| 4 | namespace JFB_Components\Admin\Notices\Interfaces; |
| 5 | |
| 6 | use JFB_Components\Admin\Notices\Base_Notice; |
| 7 | |
| 8 | // If this file is called directly, abort. |
| 9 | if ( ! defined( 'WPINC' ) ) { |
| 10 | die; |
| 11 | } |
| 12 | |
| 13 | interface Admin_Notices_It { |
| 14 | |
| 15 | public function get_notices(): array; |
| 16 | |
| 17 | public function register_notice( Base_Notice $notice ): Admin_Notices_It; |
| 18 | |
| 19 | } |
| 20 |