/** * Create a new user meta container * * @param string $title Unique title of the container **/ public function __construct($title) { parent::__construct($title); if (!$this->get_datastore()) { $this->set_datastore(new User_Meta_Datastore()); } }
/** * Create a new theme options fields container * * @param string $title Unique title of the container **/ public function __construct($title) { parent::__construct($title); if (!$this->get_datastore()) { $this->set_datastore(new Theme_Options_Datastore()); } }