/** Constructor */ public function __construct() { $this->registerHookCallbacks(); static::$metaBoxes = array('OpeningHours' => MetaBox\OpeningHours::getInstance(), 'Holidays' => MetaBox\Holidays::getInstance(), 'IrregularOpenings' => MetaBox\IrregularOpenings::getInstance(), 'Donation' => MetaBox\Donation::getInstance()); }
</th> <th> <?php _e('Time Start', I18n::TEXTDOMAIN); ?> </th> <th> <?php _e('Time End', I18n::TEXTDOMAIN); ?> </th> </thead> <tbody> <?php foreach ($irregular_openings as $io) { echo MetaBox::renderTemplate(MetaBox::TEMPLATE_PATH_SINGLE, array('io' => $io), 'always'); } ?> </tbody> </table> <button class="button button-primary button-add add-io"> <?php _e('Add New Irregular Opening', I18n::TEXTDOMAIN); ?> </button> </div>