Code Duplication    Length = 10-11 lines in 3 locations

includes/admin/reports/class-gateways-reports-table.php 1 location

@@ 44-54 (lines=11) @@
41
	 * @since 1.0
42
	 * @see   WP_List_Table::__construct()
43
	 */
44
	public function __construct() {
45
		global $status, $page;
46
47
		// Set parent defaults
48
		parent::__construct( array(
49
			'singular' => give_get_forms_label_singular(),    // Singular name of the listed records
50
			'plural'   => give_get_forms_label_plural(),        // Plural name of the listed records
51
			'ajax'     => false                        // Does this table support ajax?
52
		) );
53
54
	}
55
56
	/**
57
	 * This function renders most of the columns in the list table.

includes/admin/tools/logs/class-api-requests-logs-list-table.php 1 location

@@ 44-53 (lines=10) @@
41
	 * @since 1.0
42
	 * @see   WP_List_Table::__construct()
43
	 */
44
	public function __construct() {
45
		global $status, $page;
46
47
		// Set parent defaults
48
		parent::__construct( array(
49
			'singular' => give_get_forms_label_singular(),    // Singular name of the listed records
50
			'plural'   => give_get_forms_label_plural(),        // Plural name of the listed records
51
			'ajax'     => false,// Does this table support ajax?
52
		) );
53
	}
54
55
	/**
56
	 * Show the search field

includes/admin/tools/logs/class-update-logs-list-table.php 1 location

@@ 44-53 (lines=10) @@
41
	 * @since 2.0.1
42
	 * @see   WP_List_Table::__construct()
43
	 */
44
	public function __construct() {
45
		global $status, $page;
46
47
		// Set parent defaults
48
		parent::__construct( array(
49
			'singular' => give_get_forms_label_singular(),    // Singular name of the listed records
50
			'plural'   => give_get_forms_label_plural(),        // Plural name of the listed records
51
			'ajax'     => false,// Does this table support ajax?
52
		) );
53
	}
54
55
	/**
56
	 * Show the search field