diff --git a/inc/relationship/factory.php b/inc/relationship/factory.php index bae4789..1911c0a 100644 --- a/inc/relationship/factory.php +++ b/inc/relationship/factory.php @@ -143,6 +143,7 @@ protected function normalize_side( $settings, $direction, $label ) { 'title' => $title, 'field_title' => '', 'field_placeholder' => '', + 'field_bulk_clone' => false, 'empty_message' => __( 'No connections', 'mb-relationships' ), ), ); diff --git a/inc/relationship/meta-boxes.php b/inc/relationship/meta-boxes.php index b3e3675..4304fee 100644 --- a/inc/relationship/meta-boxes.php +++ b/inc/relationship/meta-boxes.php @@ -103,6 +103,7 @@ private function parse_meta_box_from() { if ( '' !== $this->from['meta_box']['field_placeholder']) { $field['placeholder'] = $this->from['meta_box']['field_placeholder']; } + $field['bulk_clone'] = $this->from['meta_box']['field_bulk_clone']; $meta_box = array( 'id' => "{$this->id}_relationships_to", @@ -127,6 +128,7 @@ private function parse_meta_box_to() { if ( '' !== $this->from['meta_box']['field_placeholder']) { $field['placeholder'] = $this->from['meta_box']['field_placeholder']; } + $field['bulk_clone'] = $this->from['meta_box']['field_bulk_clone']; $meta_box = array( 'id' => "{$this->id}_relationships_from",