Code Duplication    Length = 9-9 lines in 2 locations

includes/admin/class-give-settings.php 2 locations

@@ 1097-1105 (lines=9) @@
1094
 *
1095
 * @return void
1096
 */
1097
function give_title_callback( $field_object, $escaped_value, $object_id, $object_type, $field_type_object ) {
1098
1099
	$id                = $field_type_object->field->args['id'];
1100
	$title             = $field_type_object->field->args['name'];
1101
	$field_description = $field_type_object->field->args['desc'];
1102
1103
	echo '<hr>' . $field_description;
1104
1105
}
1106
1107
/**
1108
 * Give Description
@@ 1118-1126 (lines=9) @@
1115
 *
1116
 * @return void
1117
 */
1118
function give_description_callback( $field_object, $escaped_value, $object_id, $object_type, $field_type_object ) {
1119
1120
	$id                = $field_type_object->field->args['id'];
1121
	$title             = $field_type_object->field->args['name'];
1122
	$field_description = $field_type_object->field->args['desc'];
1123
1124
	echo $field_description;
1125
1126
}
1127
1128
/**
1129
 * Gets a number of posts and displays them as options