Code Duplication    Length = 9-9 lines in 2 locations

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

@@ 937-945 (lines=9) @@
934
 *
935
 * @return void
936
 */
937
function give_title_callback( $field_object, $escaped_value, $object_id, $object_type, $field_type_object ) {
938
939
	$id                = $field_type_object->field->args['id'];
940
	$title             = $field_type_object->field->args['name'];
941
	$field_description = $field_type_object->field->args['desc'];
942
943
	echo '<hr>' . $field_description;
944
945
}
946
947
/**
948
 * Give Description
@@ 958-966 (lines=9) @@
955
 *
956
 * @return void
957
 */
958
function give_description_callback( $field_object, $escaped_value, $object_id, $object_type, $field_type_object ) {
959
960
	$id                = $field_type_object->field->args['id'];
961
	$title             = $field_type_object->field->args['name'];
962
	$field_description = $field_type_object->field->args['desc'];
963
964
	echo $field_description;
965
966
}
967
968
/**
969
 * Gets a number of posts and displays them as options