Registerable.php in Posts Table with Search & Sort 1.3.1, at lib/Registerable.php
| 1 | <?php |
| 2 | |
| 3 | namespace Barn2\Lib; |
| 4 | |
| 5 | if ( ! \interface_exists( __NAMESPACE__ . '\\Registerable' ) ) { |
| 6 | |
| 7 | /** |
| 8 | * An object that can be registered with WordPress via the Plugin API, i.e. add_action() and add_filter(). |
| 9 | * |
| 10 | * @package Barn2/barn2-lib |
| 11 | * @author Barn2 Plugins <info@barn2.co.uk> |
| 12 | * @license GPL-3.0 |
| 13 | * @copyright Barn2 Media Ltd |
| 14 | * @version 1.0 |
| 15 | */ |
| 16 | interface Registerable { |
| 17 | |
| 18 | public function register(); |
| 19 | |
| 20 | } |
| 21 | |
| 22 | } |
| 23 |