HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux srv1.dlabib.net 6.8.0-94-generic #96-Ubuntu SMP PREEMPT_DYNAMIC Fri Jan 9 20:36:55 UTC 2026 x86_64
User: hbkconsultan_usr (1002)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /var/www/hbkconsultan_usr/data/www/hbkconsultancy.com/wp-content/themes/edubin/inc/cmb2/zoom.php
<?php

// Zoom Meeting 
add_action('cmb2_admin_init', 'edubin_zoom_meeting');
function edubin_zoom_meeting()
{
   $prefix = 'edubin_zoom_';

    $zoom_meta = new_cmb2_box( array(
        'id'           => $prefix . 'metabox',
        'title'        => __( 'Zoom Meta', 'edubin' ),
        'object_types' => array( 'zoom-meetings' ),
        'context'      => 'advanced',
        'priority'     => 'default', 
        'show_names'   => true
    ) );

    $zoom_meta->add_field( array(
        'id'           => $prefix . 'extra_meta_fields',
        'type'         => 'group',
        'name'         => __( 'Zoom Sidebar Extra Meta Information', 'edubin' ),
        'options'      => array(
            'group_title'      => __( 'Meta Information{#}', 'edubin' ),
            'add_button'       => __( 'Add Another Meta Information', 'edubin' ),
            'remove_button'    => __( 'Remove Meta', 'edubin' ),
            'sortable'         => true
        ),
        'fields'       => array(
            array(
                'name' => __( 'Meta Label', 'edubin' ),
                'id'   => 'label',
                'type' => 'text'
            ),
            array(
                'name' => __( 'Meta Value', 'edubin' ),
                'id'   => 'value',
                'type' => 'text'
            ),
            array(
                'name' => __( 'Meta Wrapper Class', 'edubin' ),
                'id'   => 'wrapper_class',
                'type' => 'text'
            )
        )
    ) );
}