%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 54.36.91.62 / Your IP : 216.73.217.162 Web Server : Apache System : Linux webm002.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : wellingtpa ( 97533) PHP Version : 7.4.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/wellingtpa/www/wp-content/plugins/kata-plus/includes/meta-box/options/ |
Upload File : |
<?php
/**
* Team Member Options - Meta Box.
*
* @author ClimaxThemes
* @package Kata Plus
* @since 1.0.0
*/
// Don't load directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
if ( ! class_exists( 'Kata_Plus_Meta_Box_Team_Member' ) ) {
class Kata_Plus_Meta_Box_Team_Member {
/**
* Instance of this class.
*
* @since 1.0.0
* @access public
* @var Kata_Plus_Meta_Box_Team_Member
*/
public static $instance;
/**
* Provides access to a single instance of a module using the singleton pattern.
*
* @since 1.0.0
* @return object
*/
public static function get_instance() {
if ( self::$instance === null ) {
self::$instance = new self();
}
return self::$instance;
}
/**
* Constructor.
*
* @since 1.0.0
*/
public function __construct() {
$this->actions();
}
/**
* Add actions.
*
* @since 1.0.0
*/
public function actions() {
add_filter( 'rwmb_meta_boxes', array( $this, 'meta_boxes' ) );
}
public function meta_boxes( $meta_boxes ) {
// Team Member
$meta_boxes[] = array(
'title' => esc_html__( 'Team Member Options', 'kata-plus' ),
'id' => 'kata-team_member',
'post_types' => array( 'kata_team_member' ),
'fields' => array(
array(
'id' => 'team_job',
'name' => esc_attr__( 'Job:', 'kata-plus' ),
'type' => 'text',
),
array(
'id' => 'team_social',
'name' => esc_attr__( 'Social', 'kata-plus' ),
'type' => 'text_list',
'clone' => true,
'options' => array(
'facebook' => '',
'https://facebook.com' => '',
),
),
),
);
return $meta_boxes;
}
}
Kata_Plus_Meta_Box_Team_Member::get_instance();
}