# posts-data-table/1.3.1/lib/Registerable.php

Posts Table with Search &amp; Sort, version 1.3.1. 23 lines.

- Page: https://pluginprobe.com/plugins/posts-data-table/1.3.1/code/lib/Registerable.php
- Raw: https://pluginprobe.com/plugins/posts-data-table/1.3.1/raw/lib/Registerable.php
- Modified: 2020-05-26T14:15:32+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/posts-data-table/1.3.1/code/lib/Registerable.php#L10-L20`.

```php
<?php

namespace Barn2\Lib;

if ( ! \interface_exists( __NAMESPACE__ . '\\Registerable' ) ) {

    /**
     * An object that can be registered with WordPress via the Plugin API, i.e. add_action() and add_filter().
     *
     * @package   Barn2/barn2-lib
     * @author    Barn2 Plugins <info@barn2.co.uk>
     * @license   GPL-3.0
     * @copyright Barn2 Media Ltd
     * @version   1.0
     */
    interface Registerable {

        public function register();

    }

}

```
