Code Duplication    Length = 6-6 lines in 2 locations

classes/Pods.php 2 locations

@@ 4430-4435 (lines=6) @@
4427
				$ui['restrict'] = array( 'author_restrict' => $author_restrict );
4428
			}
4429
4430
			if ( ! in_array( 'export', $ui['actions_disabled'], true ) ) {
4431
				$ui['actions_bulk']['export'] = array(
4432
					'label' => __( 'Export', 'pods' ),
4433
					// callback not needed, Pods has this built-in for export.
4434
				);
4435
			}
4436
4437
			if ( ! in_array( 'delete', $ui['actions_disabled'], true ) ) {
4438
				$ui['actions_bulk']['delete'] = array(
@@ 4437-4442 (lines=6) @@
4434
				);
4435
			}
4436
4437
			if ( ! in_array( 'delete', $ui['actions_disabled'], true ) ) {
4438
				$ui['actions_bulk']['delete'] = array(
4439
					'label' => __( 'Delete', 'pods' ),
4440
					// callback not needed, Pods has this built-in for delete.
4441
				);
4442
			}
4443
4444
			$detail_url = pods_v( 'detail_url', $this->pod_data['options'] );
4445