'show_in_modal', 'label' => __( 'Show in Modal', 'frontend-admin' ), 'type' => 'true_false', 'instructions' => '', 'required' => 0, 'ui' => 1, ), array( 'key' => 'modal_button_text', 'label' => __( 'Modal Button Text', 'frontend-admin' ), 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => array( array( array( 'field' => 'show_in_modal', 'operator' => '==', 'value' => 1, ), ), ), ), );