plugin = $plugin; $this->hooks(); } /** * Initiate our hooks. * * @since 0.0.3 */ public function hooks() { } protected $slug = 'capacity'; public function get_schema() { if ( !empty( $this->schema ) ) { return $this->schema; } $this->schema = array( 'version' => '2020-04-28', 'fields' => array( 'enabled' => array( 'name' => 'enabled', 'default_value' => true, ), ), ); return $this->schema; } }