403Webshell
Server IP : 141.193.213.11  /  Your IP : 216.73.216.101
Web Server : nginx
System : Linux pod-400555 6.8.0-1055-gke #61-Ubuntu SMP Tue May 26 22:57:42 UTC 2026 x86_64
User : fpm200079 ( 200079)
PHP Version : 8.2.36
Disable Function : apache_child_terminate,apache_get_modules,apache_get_version,apache_getenv,apache_note,apache_setenv,disk_free_space,disk_total_space,diskfreespace,dl,exec,fastcgi_finish_request,link,opcache_compile_file,opcache_get_configuration,opcache_invalidate,opcache_is_script_cached,opcache_reset,passthru,pclose,pcntl_exec,popen,posix_getpid,posix_getppid,posix_getpwuid,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_uname,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,realpath_cache_get,shell_exec,show_source,symlink,system
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /nas/content/live/bartislaw/wp-content/themes/spk/includes/theme-functions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /nas/content/live/bartislaw/wp-content/themes/spk/includes/theme-functions/meta-box-func.php
<?php
function spk_get_meta_box($meta_boxes) {
    $prefix = 'spk_';
    /* ...................Attoreny Profile Meta Boxes...................... */
    $meta_boxes[] = array(
        'title' => esc_html__('Attorney Profile Settings', 'spk-metabox-generator'),
        'post_types' => array('attorneyprofile'),
        'context' => 'normal',
        'priority' => 'default',
        'autosave' => false,
        'fields' => array(
            array(
                'id' => $prefix . 'attornet_profile_image_btm_txt',
                'name' => esc_html__('Insert Total Reviews', 'spk-metabox-generator'),
                'type' => 'text',
                'desc' => esc_html__('Insert Text', 'spk-metabox-generator'),
            ),
            array(
                'type' => 'divider',
            ),
            array(
                'name' => esc_html__('Tab 1 Hide', 'spk-metabox-generator'),
                'id' => $prefix . 'attornet_profile_tab1_hide',
                'type' => 'checkbox',
                'desc' => esc_html__('Check if you want to hide this Tab', 'spk-metabox-generator'),
            ),
            array(
                'name' => esc_html__('Tab 1 Heading', 'spk-metabox-generator'),
                'id' => $prefix . 'attornet_profile_tab1_hd',
                'type' => 'text',
                'desc' => esc_html__('Insert Text', 'spk-metabox-generator'),
            ),
            array(
                'name' => esc_html__('Tab 1 Text', 'spk-metabox-generator'),
                'id' => $prefix . 'attornet_profile_tab1_txt',
                'type' => 'wysiwyg',
                'desc' => esc_html__('Insert Text', 'spk-metabox-generator'),
            ),
            array(
                'name' => esc_html__('Tab 1 More Button Text', 'spk-metabox-generator'),
                'id' => $prefix . 'attornet_profile_tab1_more_btn_txt',
                'type' => 'text',
                'desc' => esc_html__('Insert Text', 'spk-metabox-generator'),
            ),
            array(
                'name' => esc_html__('Tab 1 More Button Link', 'spk-metabox-generator'),
                'id' => $prefix . 'attornet_profile_tab1_more_btn_link',
                'type' => 'text',
                'desc' => esc_html__('Insert Text', 'spk-metabox-generator'),
            ),
            array(
                'name' => esc_html__('Tab 1 Reviews', 'spk-metabox-generator'),
                'id' => $prefix . 'attornet_profile_tab1_reviews',
                'type' => 'text',
                'desc' => esc_html__('Insert Text', 'spk-metabox-generator'),
            ),
            array(
                'type' => 'divider',
            ),
            array(
                'name' => esc_html__('Tab 2 Hide', 'spk-metabox-generator'),
                'id' => $prefix . 'attornet_profile_tab2_hide',
                'type' => 'checkbox',
                'desc' => esc_html__('Check if you want to hide this Tab', 'spk-metabox-generator'),
            ),
            array(
                'name' => esc_html__('Tab 2 Heading', 'spk-metabox-generator'),
                'id' => $prefix . 'attornet_profile_tab2_hd',
                'type' => 'text',
                'desc' => esc_html__('Insert Text', 'spk-metabox-generator'),
            ),
            array(
                'name' => esc_html__('Tab 2 Text', 'spk-metabox-generator'),
                'id' => $prefix . 'attornet_profile_tab2_txt',
                'type' => 'wysiwyg',
                'desc' => esc_html__('Insert Text', 'spk-metabox-generator'),
            ),
            array(
                'name' => esc_html__('Tab 2 More Button Text', 'spk-metabox-generator'),
                'id' => $prefix . 'attornet_profile_tab2_more_btn_txt',
                'type' => 'text',
                'desc' => esc_html__('Insert Text', 'spk-metabox-generator'),
            ),
            array(
                'name' => esc_html__('Tab 2 More Button Link', 'spk-metabox-generator'),
                'id' => $prefix . 'attornet_profile_tab2_more_btn_link',
                'type' => 'text',
                'desc' => esc_html__('Insert Text', 'spk-metabox-generator'),
            ),
            array(
                'name' => esc_html__('Tab 2 Reviews', 'spk-metabox-generator'),
                'id' => $prefix . 'attornet_profile_tab2_reviews',
                'type' => 'text',
                'desc' => esc_html__('Insert Text', 'spk-metabox-generator'),
            ),
            array(
                'id' => $prefix . 'No johnson Box',
                'name' => esc_html__('Hide Johnson Box', 'spk-metabox-generator'),
                'type' => 'checkbox',
                'desc' => esc_html__('Check if You don\'t want to show johnson Box', 'spk-metabox-generator'),
            ),
            array(
                'name' => __('No johnson Box', 'rwmb'),
                'id' => "{$prefix}no_johnson_box",
                'desc' => __('Check if You don\'t want to show johnson Box', 'rwmb'),
                'type' => 'checkbox',
                'std' => __('', 'rwmb'),
                'clone' => FALSE,
            ),
        ),
    );
    /* ...........................Meta Box Pages.............................. */
    $meta_boxes[] = array(
        'title' => esc_html__('Page Settings', 'spk-metabox-generator'),
        'post_types' => array('page'),
        'context' => 'normal',
        'priority' => 'default',
        'autosave' => false,
        'fields' => array(
            array(
                'id' => $prefix . 'related_articals_box',
                'type' => 'post',
                'name' => esc_html__('Related Articals Box', 'spk-metabox-generator'),
                'desc' => esc_html__('Select Related Articals', 'spk-metabox-generator'),
                'post_type' => array('page'),
                'field_type' => 'select_advanced',
                'clone' => true,
                'sort_clone' => true,
            ),
            array(
                'type' => 'divider',
            ),
            array(
                'id' => $prefix . 'related_topics_box',
                'type' => 'post',
                'name' => esc_html__('Related Topics Box', 'spk-metabox-generator'),
                'desc' => esc_html__('Select Related Topics', 'spk-metabox-generator'),
                'post_type' => array('page'),
                'field_type' => 'select_advanced',
                'clone' => true,
                'sort_clone' => true,
            ),
            array(
                'name' => __('No johnson Box', 'rwmb'),
                'id' => "{$prefix}no_johnson_box",
                'desc' => __('Check if You don\'t want to show johnson Box', 'rwmb'),
                'type' => 'checkbox',
                'std' => __('', 'rwmb'),
                'clone' => FALSE,
            ),
            array(
                'name' => __('Hide Heading', 'rwmb'),
                'id' => "{$prefix}heading_hide",
                'desc' => __('Check if You don\'t want to show Heading', 'rwmb'),
                'type' => 'checkbox',
                'std' => __('', 'rwmb'),
                'clone' => FALSE,
            ),
            array(
                'name' => __('Hide Get Help Button In Responsive', 'rwmb'),
                'id' => "{$prefix}hide_btn",
                'desc' => __('Check if You don\'t want to show button in responsive', 'rwmb'),
                'type' => 'checkbox',
                'std' => __('', 'rwmb'),
                'clone' => FALSE,
            ),
            array(
                'name' => __('Related Articles & Topics', 'rwmb'),
                'id' => "{$prefix}show_PA",
                'desc' => __('Check if You want to show', 'rwmb'),
                'type' => 'checkbox',
                'std' => __('', 'rwmb'),
                'clone' => FALSE,
            ),
            array(
                'name' => __('Hide Breadcrum function', 'rwmb'),
                'id' => "{$prefix}hide_bread",
                'desc' => __('Check if You don\'t want to show button Breadcrum', 'rwmb'),
                'type' => 'checkbox',
                'std' => __('', 'rwmb'),
                'clone' => FALSE,
            ),
            array(
                'name' => __('Custom Breadcrum', 'rwmb'),
                'id' => "{$prefix}txt_bread",
                'desc' => __('Enter Custom Breadcrum Text', 'rwmb'),
                'type' => 'textarea',
                'std' => __('', 'rwmb'),
                'clone' => FALSE,
            ),
        ),
    );
    $meta_boxes[] = array(
        'title' => esc_html__('Youtube Id', 'spk-metabox-generator'),
        'post_types' => array('post'),
        'context' => 'normal',
        'priority' => 'default',
        'autosave' => false,
        'fields' => array(
            array(
                'name' => __('Youtube Id', 'rwmb'),
                'id' => "{$prefix}youtube_id",
                'desc' => __('Enter Embed Youtube Id', 'rwmb'),
                'type' => 'text',
                'std' => __('', 'rwmb'),
                'clone' => FALSE,
            ),
        ),
    );
    /* ...........................Meta Box Videos Post Type.............................. */
    $meta_boxes[] = array(
        'title' => esc_html__('Videos Settings', 'spk-metabox-generator'),
        'post_types' => array('videos'),
        'context' => 'normal',
        'priority' => 'default',
        'autosave' => false,
        'fields' => array(
            array(
                'id' => $prefix . 'videos_before_txt',
                'type' => 'wysiwyg',
                'name' => esc_html__('Add text if you want to show before video', 'spk-metabox-generator'),
                'desc' => esc_html__('Add Text', 'spk-metabox-generator'),
                'options' => array(
                    'textarea_rows' => 6,
                    'teeny' => true,
                ),
            ),
            array(
                'type' => 'divider',
            ),
            array(
                'id' => $prefix . 'videos_youtube_code',
                'type' => 'text',
                'name' => esc_html__('Add Youtube video ID Ex:(abcsdfgh)', 'spk-metabox-generator'),
                'desc' => esc_html__('Add Youtube video ID', 'spk-metabox-generator'),
            ),
			      array(
                'id' => $prefix . 'vimeo_id_code',
                'type' => 'text',
                'name' => esc_html__('Add Vimeo video ID Ex:(12345678)', 'spk-metabox-generator'),
                'desc' => esc_html__('Add Vimeo video ID', 'spk-metabox-generator'),
            ),
            array(
                'type' => 'divider',
            ),
            array(
                'id' => $prefix . 'videos_after_txt',
                'type' => 'wysiwyg',
                'name' => esc_html__('Add text if you want to show after video', 'spk-metabox-generator'),
                'desc' => esc_html__('Add Text', 'spk-metabox-generator'),
                'options' => array(
                    'textarea_rows' => 6,
                    'teeny' => true,
                ),
            ),
            array(
                'type' => 'divider',
            ),
            array(
                'id' => $prefix . 'videos_related_videos_box',
                'type' => 'post',
                'name' => esc_html__('Related Videos Box', 'spk-metabox-generator'),
                'desc' => esc_html__('Select Videos Articals', 'spk-metabox-generator'),
                'post_type' => array('videos'),
                'field_type' => 'select_advanced',
                'clone' => true,
                'sort_clone' => true,
            ),
            array(
                'name' => __('No johnson Box', 'rwmb'),
                'id' => "{$prefix}no_johnson_box",
                'desc' => __('Check if You don\'t want to show johnson Box', 'rwmb'),
                'type' => 'checkbox',
                'std' => __('', 'rwmb'),
                'clone' => FALSE,
            ),
        ),
    );
    /* ............................................. */
    return $meta_boxes;
}
add_filter('rwmb_meta_boxes', 'spk_get_meta_box');

Youez - 2016 - github.com/yon3zu
LinuXploit