Uname: Linux p3plzcpnl499967.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
Software: Apache
PHP version: 8.2.30 [ PHP INFO ] PHP os: Linux
Server Ip: 208.109.40.231
Your Ip: 216.73.216.26
User: nayff91c5tsx (10005085) | Group: nayff91c5tsx (10005085)
Safe Mode: OFF
Disable Function:
NONE

name : set-up.php
<?php

namespace JET_ABAF\Dashboard\Pages;

use JET_ABAF\Dashboard\Helpers\Page_Config;

class Set_Up extends Base {

	/**
	 * Page slug.
	 *
	 * @return string
	 */
	public function slug() {
		return 'jet-abaf-set-up';
	}

	/**
	 * Page title
	 *
	 * @return string
	 */
	public function title() {
		return __( 'Set Up', 'jet-booking' );
	}

	/**
	 * Page render function.
	 *
	 * @return void
	 */
	public function render() {
		echo '<div id="jet-abaf-set-up-page"></div>';
	}

	/**
	 * Page config.
	 *
	 * Return set up page config object.
	 *
	 * @since  3.0.0 Removed unused configurations.
	 * @access public
	 *
	 * @return Page_Config
	 */
	public function page_config() {
		return new Page_Config( $this->slug(), [
			'has_woocommerce' => jet_abaf()->wc->has_woocommerce(),
		] );
	}

	/**
	 * Define that is setup page.
	 *
	 * @return boolean
	 */
	public function is_setup_page() {
		return true;
	}

	/**
	 * Assets.
	 *
	 * Dashboard set up page specific assets.
	 *
	 * @access public
	 *
	 * @return void
	 */
	public function assets() {
		$this->enqueue_script( $this->slug(), 'assets/js/admin/set-up.js' );
		$this->enqueue_style( $this->slug(), 'assets/css/admin/set-up.css' );
	}

	/**
	 * Set to true to hide page from admin menu.
	 *
	 * @return boolean
	 */
	public function is_hidden() {
		return jet_abaf()->settings->get( 'hide_setup' );
	}

	/**
	 * Page components templates.
	 *
	 * @return array
	 */
	public function vue_templates() {
		return [
			'set-up',
		];
	}

}
© 2026 GrazzMean