Code Duplication    Length = 6-6 lines in 2 locations

classes/Pods.php 2 locations

@@ 4414-4419 (lines=6) @@
4411
				$ui['restrict'] = array( 'author_restrict' => $author_restrict );
4412
			}
4413
4414
			if ( ! in_array( 'export', $ui['actions_disabled'], true ) ) {
4415
				$ui['actions_bulk']['export'] = array(
4416
					'label' => __( 'Export', 'pods' ),
4417
					// callback not needed, Pods has this built-in for export.
4418
				);
4419
			}
4420
4421
			if ( ! in_array( 'delete', $ui['actions_disabled'], true ) ) {
4422
				$ui['actions_bulk']['delete'] = array(
@@ 4421-4426 (lines=6) @@
4418
				);
4419
			}
4420
4421
			if ( ! in_array( 'delete', $ui['actions_disabled'], true ) ) {
4422
				$ui['actions_bulk']['delete'] = array(
4423
					'label' => __( 'Delete', 'pods' ),
4424
					// callback not needed, Pods has this built-in for delete.
4425
				);
4426
			}
4427
4428
			$detail_url = pods_v( 'detail_url', $this->pod_data['options'] );
4429