src/Config_Command.php
private static function get_wp_config_diff( $list, $previous_list, $type, $exclude_list = array() ) {
		$result = array();
		foreach ( $list as $name => $val ) {
			if ( array_key_exists( $name, $previous_list ) || in_array( $name, $exclude_list, true ) ) {
				continue;
			}
			$out          = [];
			$out['name']  = $name;
			$out['value'] = $val;
			$out['type']  = $type;
			$result[]     = $out;
		}
		return $result;
	}
private static function get_wp_config_diff( $list, $previous_list, $type, $exclude_list = array() ) {
		$result = array();
		foreach ( $list as $name => $val ) {
			if ( array_key_exists( $name, $previous_list ) || in_array( $name, $exclude_list, true ) ) {
				continue;
			}
			$out          = [];
			$out['name']  = $name;
			$out['value'] = $val;
			$out['type']  = $type;
			$result[]     = $out;
		}
		return $result;
	}
private static function get_wp_config_diff ( $ list , $ previous_list , $ type , $ exclude_list = array ( ) ) { $ result = array ( ) ; foreach ( $ list as $ name => $ val ) { if ( array_key_exists ( $ name , $ previous_list ) || in_array ( $ name , $ exclude_list , true ) ) { continue ; } $ out = [ ] ; $ out [ 'name' ] = $ name ; $ out [ 'value' ] = $ val ; $ out [ 'type' ] = $ type ; $ result [ ] = $ out ; } return $ result ; }
Filters wp-config.php file configurations.

@param array $list
@param array $previous_list
@param string $type
@param array $exclude_list
@return array
Filters wp - config . php file configurations .