| |
| <?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| defined( 'ABSPATH' ) || exit;
|
|
|
| add_action( 'acf/init', function() {
|
| if ( ! function_exists( 'acf_add_local_field_group' ) ) {
|
| return;
|
| }
|
|
|
| acf_add_local_field_group( array(
|
| 'key' => 'group_users_bb_sync_meta',
|
| 'title' => 'User & BuddyBoss Profile Data',
|
| 'fields' => array(
|
|
|
|
|
|
|
| array(
|
| 'key' => 'field_tab_user_overview',
|
| 'label' => 'User Overview',
|
| 'name' => '',
|
| 'type' => 'tab',
|
| 'instructions' => '',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'placement' => 'top',
|
| 'endpoint' => 0,
|
| ),
|
|
|
|
|
| array(
|
| 'key' => 'field_user_edit_link',
|
| 'label' => '✏️ Edit User (WP Admin)',
|
| 'name' => 'user_edit_link',
|
| 'type' => 'url',
|
| 'instructions' => 'Direct link to edit this user in WordPress admin',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '33',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_user_profile_link',
|
| 'label' => '👤 View Profile (Frontend)',
|
| 'name' => 'user_profile_link',
|
| 'type' => 'url',
|
| 'instructions' => 'Frontend author archive URL',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '33',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_bb_profile_link',
|
| 'label' => '🔗 BuddyBoss Profile',
|
| 'name' => 'bb_profile_link',
|
| 'type' => 'url',
|
| 'instructions' => 'BuddyBoss public profile URL',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '34',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
|
|
|
|
| array(
|
| 'key' => 'field_user_id',
|
| 'label' => 'User ID',
|
| 'name' => 'user_id',
|
| 'type' => 'number',
|
| 'instructions' => '',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '20',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_user_login',
|
| 'label' => 'Username',
|
| 'name' => 'user_login',
|
| 'type' => 'text',
|
| 'instructions' => '',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '20',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_user_email',
|
| 'label' => 'Email',
|
| 'name' => 'user_email',
|
| 'type' => 'email',
|
| 'instructions' => '',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '30',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_user_status',
|
| 'label' => 'User Status',
|
| 'name' => 'user_status',
|
| 'type' => 'select',
|
| 'instructions' => '',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '15',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'choices' => array(
|
| 'active' => 'Active',
|
| 'inactive' => 'Inactive',
|
| 'pending' => 'Pending',
|
| 'spam' => 'Spam',
|
| ),
|
| 'default_value' => 'active',
|
| 'allow_null' => 0,
|
| 'multiple' => 0,
|
| 'ui' => 0,
|
| 'return_format' => 'value',
|
| 'ajax' => 0,
|
| 'placeholder' => '',
|
| 'disabled' => 1,
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_user_roles',
|
| 'label' => 'User Role(s)',
|
| 'name' => 'user_roles',
|
| 'type' => 'text',
|
| 'instructions' => '',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '15',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
|
|
|
|
| array(
|
| 'key' => 'field_display_name',
|
| 'label' => 'Display Name',
|
| 'name' => 'display_name',
|
| 'type' => 'text',
|
| 'instructions' => '',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '25',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_first_name',
|
| 'label' => 'First Name',
|
| 'name' => 'first_name',
|
| 'type' => 'text',
|
| 'instructions' => '',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '25',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_last_name',
|
| 'label' => 'Last Name',
|
| 'name' => 'last_name',
|
| 'type' => 'text',
|
| 'instructions' => '',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '25',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_nickname',
|
| 'label' => 'Nickname',
|
| 'name' => 'nickname',
|
| 'type' => 'text',
|
| 'instructions' => '',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '25',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
|
|
|
|
| array(
|
| 'key' => 'field_phone',
|
| 'label' => 'Phone',
|
| 'name' => 'phone',
|
| 'type' => 'text',
|
| 'instructions' => '',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '33',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_user_url',
|
| 'label' => 'Website URL',
|
| 'name' => 'user_url',
|
| 'type' => 'url',
|
| 'instructions' => '',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '34',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_post_count',
|
| 'label' => 'Post Count',
|
| 'name' => 'post_count',
|
| 'type' => 'number',
|
| 'instructions' => '',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '33',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => 0,
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
|
|
|
|
| array(
|
| 'key' => 'field_description',
|
| 'label' => 'Biography',
|
| 'name' => 'description',
|
| 'type' => 'textarea',
|
| 'instructions' => 'User biographical info',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'maxlength' => '',
|
| 'rows' => 4,
|
| 'new_lines' => '',
|
| 'readonly' => 1,
|
| ),
|
|
|
|
|
| array(
|
| 'key' => 'field_user_registered',
|
| 'label' => 'Registration Date',
|
| 'name' => 'user_registered',
|
| 'type' => 'text',
|
| 'instructions' => '',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '33',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_last_login',
|
| 'label' => 'Last Login',
|
| 'name' => 'last_login',
|
| 'type' => 'text',
|
| 'instructions' => 'Most recent login timestamp',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '33',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_bb_last_activity',
|
| 'label' => 'BuddyBoss Last Activity',
|
| 'name' => 'bb_last_activity',
|
| 'type' => 'text',
|
| 'instructions' => '',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '34',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
|
|
|
|
|
|
|
|
|
|
|
|
| array(
|
| 'key' => 'field_kic_full_name',
|
| 'label' => 'Full Name',
|
| 'name' => 'kic_full_name',
|
| 'type' => 'text',
|
| 'instructions' => 'Full legal name',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '33',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_kic_phone',
|
| 'label' => 'Primary Phone',
|
| 'name' => 'kic_phone',
|
| 'type' => 'text',
|
| 'instructions' => 'Primary contact number',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '33',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_kic_phone_secondary',
|
| 'label' => 'Secondary Phone',
|
| 'name' => 'kic_phone_secondary',
|
| 'type' => 'text',
|
| 'instructions' => 'Alternative phone number',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '34',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
|
|
|
|
| array(
|
| 'key' => 'field_kic_address_street',
|
| 'label' => 'Street Address',
|
| 'name' => 'kic_address_street',
|
| 'type' => 'text',
|
| 'instructions' => '',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '50',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_kic_address_street_2',
|
| 'label' => 'Address Line 2',
|
| 'name' => 'kic_address_street_2',
|
| 'type' => 'text',
|
| 'instructions' => 'Apt, Suite, Unit',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '50',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_kic_address_city',
|
| 'label' => 'City',
|
| 'name' => 'kic_address_city',
|
| 'type' => 'text',
|
| 'instructions' => '',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '40',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_kic_address_state',
|
| 'label' => 'State',
|
| 'name' => 'kic_address_state',
|
| 'type' => 'text',
|
| 'instructions' => '2-letter code',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '30',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'maxlength' => 2,
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_kic_address_zip',
|
| 'label' => 'ZIP Code',
|
| 'name' => 'kic_address_zip',
|
| 'type' => 'text',
|
| 'instructions' => '',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '30',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
|
|
|
|
| array(
|
| 'key' => 'field_kic_staff_id',
|
| 'label' => 'Staff ID',
|
| 'name' => 'kic_staff_id',
|
| 'type' => 'text',
|
| 'instructions' => 'Staff identification number',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '25',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_kic_employee_id',
|
| 'label' => 'Employee ID',
|
| 'name' => 'kic_employee_id',
|
| 'type' => 'text',
|
| 'instructions' => 'HR/Employee number',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '25',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_kic_member_id',
|
| 'label' => 'Member ID',
|
| 'name' => 'kic_member_id',
|
| 'type' => 'text',
|
| 'instructions' => 'Membership number',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '25',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_kic_group_id',
|
| 'label' => 'Group ID',
|
| 'name' => 'kic_group_id',
|
| 'type' => 'text',
|
| 'instructions' => 'Group/cohort ID',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '25',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_kic_org_id',
|
| 'label' => 'Organization ID',
|
| 'name' => 'kic_org_id',
|
| 'type' => 'text',
|
| 'instructions' => 'Organization identifier',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '25',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_kic_scholar_id',
|
| 'label' => 'Scholar ID',
|
| 'name' => 'kic_scholar_id',
|
| 'type' => 'text',
|
| 'instructions' => 'Scholar/student ID',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '25',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_kic_vendor_id',
|
| 'label' => 'Vendor ID',
|
| 'name' => 'kic_vendor_id',
|
| 'type' => 'text',
|
| 'instructions' => 'Vendor/supplier ID',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '25',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_kic_intern_id',
|
| 'label' => 'Intern ID',
|
| 'name' => 'kic_intern_id',
|
| 'type' => 'text',
|
| 'instructions' => 'Internship ID',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '25',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
|
|
|
|
| array(
|
| 'key' => 'field_kic_ghl_id',
|
| 'label' => 'GoHighLevel ID',
|
| 'name' => 'kic_ghl_id',
|
| 'type' => 'text',
|
| 'instructions' => 'GoHighLevel contact ID',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '50',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_kic_org_name',
|
| 'label' => 'Organization Name',
|
| 'name' => 'kic_org_name',
|
| 'type' => 'text',
|
| 'instructions' => 'Organization/company name',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '50',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_kic_address_country',
|
| 'label' => 'Country',
|
| 'name' => 'kic_address_country',
|
| 'type' => 'select',
|
| 'instructions' => 'Country',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '33',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'choices' => array(
|
| 'US' => 'United States',
|
| 'CA' => 'Canada',
|
| 'MX' => 'Mexico',
|
| 'GB' => 'United Kingdom',
|
| 'AU' => 'Australia',
|
| 'DE' => 'Germany',
|
| 'FR' => 'France',
|
| 'ES' => 'Spain',
|
| 'IT' => 'Italy',
|
| 'JP' => 'Japan',
|
| 'CN' => 'China',
|
| 'IN' => 'India',
|
| 'BR' => 'Brazil',
|
| 'OTHER' => 'Other',
|
| ),
|
| 'default_value' => 'US',
|
| 'allow_null' => 0,
|
| 'multiple' => 0,
|
| 'ui' => 0,
|
| 'ajax' => 0,
|
| 'return_format' => 'value',
|
| 'readonly' => 1,
|
| ),
|
|
|
|
|
| array(
|
| 'key' => 'field_kic_date_of_birth',
|
| 'label' => 'Date of Birth',
|
| 'name' => 'kic_date_of_birth',
|
| 'type' => 'date_picker',
|
| 'instructions' => '',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '33',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'display_format' => 'F j, Y',
|
| 'return_format' => 'Y-m-d',
|
| 'first_day' => 1,
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_kic_hire_date',
|
| 'label' => 'Hire Date',
|
| 'name' => 'kic_hire_date',
|
| 'type' => 'date_picker',
|
| 'instructions' => 'Employment start date',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '33',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'display_format' => 'F j, Y',
|
| 'return_format' => 'Y-m-d',
|
| 'first_day' => 1,
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_kic_emergency_contact_name',
|
| 'label' => 'Emergency Contact Name',
|
| 'name' => 'kic_emergency_contact_name',
|
| 'type' => 'text',
|
| 'instructions' => '',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '50',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_kic_emergency_contact_phone',
|
| 'label' => 'Emergency Contact Phone',
|
| 'name' => 'kic_emergency_contact_phone',
|
| 'type' => 'text',
|
| 'instructions' => '',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '50',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
|
|
|
|
|
|
|
|
| array(
|
| 'key' => 'field_tab_buddyboss',
|
| 'label' => 'BuddyBoss Profile',
|
| 'name' => '',
|
| 'type' => 'tab',
|
| 'instructions' => '',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'placement' => 'top',
|
| 'endpoint' => 0,
|
| ),
|
|
|
|
|
| array(
|
| 'key' => 'field_bb_profile_type',
|
| 'label' => 'Profile Type',
|
| 'name' => 'bb_profile_type',
|
| 'type' => 'text',
|
| 'instructions' => 'BuddyBoss member type slug',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '50',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_bb_profile_type_label',
|
| 'label' => 'Profile Type Label',
|
| 'name' => 'bb_profile_type_label',
|
| 'type' => 'text',
|
| 'instructions' => 'Human-readable profile type name',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '50',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
|
|
|
|
| array(
|
| 'key' => 'field_bb_friend_count',
|
| 'label' => 'Friend Count',
|
| 'name' => 'bb_friend_count',
|
| 'type' => 'number',
|
| 'instructions' => '',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '33',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => 0,
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_bb_group_count',
|
| 'label' => 'Group Count',
|
| 'name' => 'bb_group_count',
|
| 'type' => 'number',
|
| 'instructions' => '',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '33',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => 0,
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_bb_extended_fields_count',
|
| 'label' => 'Extended Fields Count',
|
| 'name' => 'bb_extended_fields_count',
|
| 'type' => 'number',
|
| 'instructions' => 'Number of filled extended profile fields',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '34',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => 0,
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
|
|
|
|
| array(
|
| 'key' => 'field_bb_extended_fields_list',
|
| 'label' => 'Extended Profile Fields',
|
| 'name' => 'bb_extended_fields_list',
|
| 'type' => 'textarea',
|
| 'instructions' => 'All BuddyBoss extended profile fields with values',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'maxlength' => '',
|
| 'rows' => 15,
|
| 'new_lines' => '',
|
| 'readonly' => 1,
|
| ),
|
|
|
|
|
|
|
|
|
| array(
|
| 'key' => 'field_tab_wpfusion',
|
| 'label' => 'WP Fusion',
|
| 'name' => '',
|
| 'type' => 'tab',
|
| 'instructions' => '',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'placement' => 'top',
|
| 'endpoint' => 0,
|
| ),
|
|
|
|
|
| array(
|
| 'key' => 'field_wpf_contact_id',
|
| 'label' => 'WP Fusion Contact ID',
|
| 'name' => 'wpf_contact_id',
|
| 'type' => 'text',
|
| 'instructions' => 'CRM contact ID from WP Fusion',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '50',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_wpf_tags_count',
|
| 'label' => 'Tag Count',
|
| 'name' => 'wpf_tags_count',
|
| 'type' => 'number',
|
| 'instructions' => 'Number of WP Fusion tags applied',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '50',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => 0,
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
|
|
|
|
| array(
|
| 'key' => 'field_wpf_tags_list',
|
| 'label' => 'Applied Tags (Readable)',
|
| 'name' => 'wpf_tags_list',
|
| 'type' => 'textarea',
|
| 'instructions' => 'Human-readable list of all WP Fusion tags',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'maxlength' => '',
|
| 'rows' => 8,
|
| 'new_lines' => '',
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_wpf_tags_raw',
|
| 'label' => 'Tags Array (Raw)',
|
| 'name' => 'wpf_tags_raw',
|
| 'type' => 'text',
|
| 'instructions' => 'Comma-separated tag IDs for filtering/queries',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
|
|
|
|
|
|
|
|
| array(
|
| 'key' => 'field_tab_gravity_forms',
|
| 'label' => 'Gravity Forms',
|
| 'name' => '',
|
| 'type' => 'tab',
|
| 'instructions' => '',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'placement' => 'top',
|
| 'endpoint' => 0,
|
| ),
|
|
|
|
|
| array(
|
| 'key' => 'field_gf_total_entries',
|
| 'label' => 'Total Form Submissions',
|
| 'name' => 'gf_total_entries',
|
| 'type' => 'number',
|
| 'instructions' => 'Total entries across all forms',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '33',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => 0,
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_gf_forms_completed',
|
| 'label' => 'Forms Completed',
|
| 'name' => 'gf_forms_completed',
|
| 'type' => 'number',
|
| 'instructions' => 'Number of different forms submitted',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '33',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => 0,
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_gf_last_submission',
|
| 'label' => 'Last Submission',
|
| 'name' => 'gf_last_submission',
|
| 'type' => 'text',
|
| 'instructions' => 'Date of most recent form submission',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '34',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
|
|
|
|
| array(
|
| 'key' => 'field_gf_submissions_summary',
|
| 'label' => 'Form Submissions Summary',
|
| 'name' => 'gf_submissions_summary',
|
| 'type' => 'textarea',
|
| 'instructions' => 'Detailed breakdown of all form submissions with entry links',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'maxlength' => '',
|
| 'rows' => 15,
|
| 'new_lines' => '',
|
| 'readonly' => 1,
|
| ),
|
|
|
|
|
| array(
|
| 'key' => 'field_gf_entry_ids',
|
| 'label' => 'All Entry IDs',
|
| 'name' => 'gf_entry_ids',
|
| 'type' => 'text',
|
| 'instructions' => 'Comma-separated list of all entry IDs for filtering',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
|
|
|
|
|
|
|
|
| array(
|
| 'key' => 'field_tab_lifterlms',
|
| 'label' => 'LifterLMS Courses',
|
| 'name' => '',
|
| 'type' => 'tab',
|
| 'instructions' => '',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'placement' => 'top',
|
| 'endpoint' => 0,
|
| ),
|
|
|
|
|
| array(
|
| 'key' => 'field_llms_enrolled_courses',
|
| 'label' => 'Enrolled Courses',
|
| 'name' => 'llms_enrolled_courses',
|
| 'type' => 'number',
|
| 'instructions' => 'Total courses enrolled',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '25',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => 0,
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_llms_completed_courses',
|
| 'label' => 'Completed Courses',
|
| 'name' => 'llms_completed_courses',
|
| 'type' => 'number',
|
| 'instructions' => 'Total courses completed',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '25',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => 0,
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_llms_overall_progress',
|
| 'label' => 'Overall Progress %',
|
| 'name' => 'llms_overall_progress',
|
| 'type' => 'number',
|
| 'instructions' => 'Overall progress across all courses',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '25',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => 0,
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_llms_overall_grade',
|
| 'label' => 'Overall Grade %',
|
| 'name' => 'llms_overall_grade',
|
| 'type' => 'text',
|
| 'instructions' => 'Average grade across all courses',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '25',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
|
|
|
|
| array(
|
| 'key' => 'field_llms_course_details',
|
| 'label' => 'Course Details',
|
| 'name' => 'llms_course_details',
|
| 'type' => 'textarea',
|
| 'instructions' => 'Detailed list of all enrolled courses with progress and grades',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'maxlength' => '',
|
| 'rows' => 12,
|
| 'new_lines' => '',
|
| 'readonly' => 1,
|
| ),
|
|
|
|
|
| array(
|
| 'key' => 'field_llms_enrolled_course_ids',
|
| 'label' => 'Enrolled Course IDs',
|
| 'name' => 'llms_enrolled_course_ids',
|
| 'type' => 'text',
|
| 'instructions' => 'Comma-separated list of enrolled course IDs',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '50',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_llms_completed_course_ids',
|
| 'label' => 'Completed Course IDs',
|
| 'name' => 'llms_completed_course_ids',
|
| 'type' => 'text',
|
| 'instructions' => 'Comma-separated list of completed course IDs',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '50',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
|
|
|
|
|
|
|
|
| array(
|
| 'key' => 'field_tab_llms_memberships',
|
| 'label' => 'LifterLMS Memberships',
|
| 'name' => '',
|
| 'type' => 'tab',
|
| 'instructions' => '',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'placement' => 'top',
|
| 'endpoint' => 0,
|
| ),
|
|
|
|
|
| array(
|
| 'key' => 'field_llms_membership_count',
|
| 'label' => 'Active Memberships',
|
| 'name' => 'llms_membership_count',
|
| 'type' => 'number',
|
| 'instructions' => 'Number of active memberships',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '33',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => 0,
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_llms_membership_list',
|
| 'label' => 'Membership Details',
|
| 'name' => 'llms_membership_list',
|
| 'type' => 'textarea',
|
| 'instructions' => 'List of all memberships with status and dates',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'maxlength' => '',
|
| 'rows' => 8,
|
| 'new_lines' => '',
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_llms_membership_ids',
|
| 'label' => 'Membership IDs',
|
| 'name' => 'llms_membership_ids',
|
| 'type' => 'text',
|
| 'instructions' => 'Comma-separated membership IDs',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
|
|
|
|
|
|
|
|
| array(
|
| 'key' => 'field_tab_llms_certificates',
|
| 'label' => 'LifterLMS Certificates',
|
| 'name' => '',
|
| 'type' => 'tab',
|
| 'instructions' => '',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'placement' => 'top',
|
| 'endpoint' => 0,
|
| ),
|
|
|
|
|
| array(
|
| 'key' => 'field_llms_certificate_count',
|
| 'label' => 'Certificates Earned',
|
| 'name' => 'llms_certificate_count',
|
| 'type' => 'number',
|
| 'instructions' => 'Total number of certificates earned',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '50',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => 0,
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_llms_achievement_count',
|
| 'label' => 'Achievements Earned',
|
| 'name' => 'llms_achievement_count',
|
| 'type' => 'number',
|
| 'instructions' => 'Total achievements/badges earned',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '50',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => 0,
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
|
|
|
|
| array(
|
| 'key' => 'field_llms_certificates_list',
|
| 'label' => 'Certificate Details',
|
| 'name' => 'llms_certificates_list',
|
| 'type' => 'textarea',
|
| 'instructions' => 'List of all earned certificates with dates and course names',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'maxlength' => '',
|
| 'rows' => 10,
|
| 'new_lines' => '',
|
| 'readonly' => 1,
|
| ),
|
|
|
|
|
|
|
|
|
| array(
|
| 'key' => 'field_tab_user_meta',
|
| 'label' => 'All User Meta',
|
| 'name' => '',
|
| 'type' => 'tab',
|
| 'instructions' => '',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'placement' => 'top',
|
| 'endpoint' => 0,
|
| ),
|
|
|
| array(
|
| 'key' => 'field_all_user_meta',
|
| 'label' => 'Complete User Meta',
|
| 'name' => 'all_user_meta',
|
| 'type' => 'textarea',
|
| 'instructions' => 'All WordPress user meta data for reference',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'maxlength' => '',
|
| 'rows' => 20,
|
| 'new_lines' => '',
|
| 'readonly' => 1,
|
| ),
|
|
|
|
|
|
|
|
|
| array(
|
| 'key' => 'field_tab_sync_status',
|
| 'label' => 'Sync Status',
|
| 'name' => '',
|
| 'type' => 'tab',
|
| 'instructions' => '',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'placement' => 'top',
|
| 'endpoint' => 0,
|
| ),
|
|
|
| array(
|
| 'key' => 'field_whalesync_status',
|
| 'label' => 'WhaleSync Status',
|
| 'name' => 'whalesync_status',
|
| 'type' => 'select',
|
| 'instructions' => '',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '50',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'choices' => array(
|
| 'active' => 'Active',
|
| 'paused' => 'Paused',
|
| 'error' => 'Error',
|
| ),
|
| 'default_value' => 'active',
|
| 'allow_null' => 0,
|
| 'multiple' => 0,
|
| 'ui' => 0,
|
| 'return_format' => 'value',
|
| 'ajax' => 0,
|
| 'placeholder' => '',
|
| 'disabled' => 1,
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_last_sync',
|
| 'label' => 'Last Sync',
|
| 'name' => 'last_sync',
|
| 'type' => 'text',
|
| 'instructions' => '',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '50',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_airtable_record_id',
|
| 'label' => 'Airtable Record ID',
|
| 'name' => 'airtable_record_id',
|
| 'type' => 'text',
|
| 'instructions' => '',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'readonly' => 1,
|
| ),
|
| array(
|
| 'key' => 'field_sync_errors',
|
| 'label' => 'Sync Errors',
|
| 'name' => 'sync_errors',
|
| 'type' => 'textarea',
|
| 'instructions' => 'Any errors during sync process',
|
| 'required' => 0,
|
| 'conditional_logic' => 0,
|
| 'wrapper' => array(
|
| 'width' => '',
|
| 'class' => '',
|
| 'id' => '',
|
| ),
|
| 'default_value' => '',
|
| 'placeholder' => '',
|
| 'maxlength' => '',
|
| 'rows' => 6,
|
| 'new_lines' => '',
|
| 'readonly' => 1,
|
| ),
|
| ),
|
| 'location' => array(
|
| array(
|
| array(
|
| 'param' => 'post_type',
|
| 'operator' => '==',
|
| 'value' => 'users_bb_sync',
|
| ),
|
| ),
|
| ),
|
| 'menu_order' => 0,
|
| 'position' => 'normal',
|
| 'style' => 'default',
|
| 'label_placement' => 'top',
|
| 'instruction_placement' => 'label',
|
| 'hide_on_screen' => array(
|
| 0 => 'the_content',
|
| 1 => 'excerpt',
|
| 2 => 'discussion',
|
| 3 => 'comments',
|
| 4 => 'revisions',
|
| 5 => 'slug',
|
| 6 => 'author',
|
| 7 => 'format',
|
| 8 => 'page_attributes',
|
| 9 => 'featured_image',
|
| 10 => 'categories',
|
| 11 => 'tags',
|
| 12 => 'send-trackbacks',
|
| ),
|
| 'active' => true,
|
| 'description' => 'Complete WordPress user, BuddyBoss, WP Fusion, LifterLMS and Gravity Forms fields for synchronization',
|
| 'show_in_rest' => 1,
|
| ) );
|
| } );
|
| |
| |
Comments