PATH:
home
/
letacommog
/
camarsac
/
wp-content
/
plugins
/
jet-booking
/
includes
/
dashboard
/
helpers
<?php namespace JET_ABAF\Dashboard\Helpers; /** * Base dashboard page */ class Page_Config { private $handle = null; private $config = array(); /** * Setup props */ public function __construct( $handle = null, $config = array() ) { $this->handle = $handle; $this->config = apply_filters( 'jet-abaf/dashboard/helpers/page-config/config', $config ); } /** * Check if config is not empty * * @return [type] [description] */ public function isset() { return ( ! empty( $this->handle ) && ! empty( $this->config ) ); } /** * Get cofig prop * * @return [type] [description] */ public function get( $prop ) { return isset( $this->$prop ) ? $this->$prop : false; } }
[+]
..
[-] page-config.php
[edit]