Code Duplication    Length = 4-4 lines in 2 locations

includes/CMB2_hookup.php 2 locations

@@ 140-143 (lines=4) @@
137
		add_action( 'edit_user_profile_update', array( $this, 'save_user' ) );
138
		add_action( 'user_register', array( $this, 'save_user' ) );
139
140
		if ( $this->cmb->has_columns ) {
141
			add_filter( 'manage_users_columns', array( $this, 'register_column_headers' ) );
142
			add_filter( 'manage_users_custom_column', array( $this, 'return_column_display'  ), 10, 3 );
143
		}
144
	}
145
146
	public function term_hooks() {
@@ 174-177 (lines=4) @@
171
				add_action( "{$taxonomy}_add_form_fields", array( $this, 'term_metabox' ), $priority, 2 );
172
			}
173
174
			if ( $this->cmb->has_columns ) {
175
				add_filter( "manage_edit-{$taxonomy}_columns", array( $this, 'register_column_headers' ) );
176
				add_filter( "manage_{$taxonomy}_custom_column", array( $this, 'return_column_display'  ), 10, 3 );
177
			}
178
		}
179
180
		add_action( 'created_term', array( $this, 'save_term' ), 10, 3 );