public function filterConfigs( $configs ) {
		if ( ! empty( $configs['libraryDir'] ) ) {
			$configs['libraryUrl'] = str_replace(
				ABSPATH,
				get_site_url() . '/',
				$configs['libraryDir']
			);
		}

		return $configs;
	}
public function filterConfigs( $configs ) {
		if ( ! empty( $configs['libraryDir'] ) ) {
			$configs['libraryUrl'] = str_replace(
				ABSPATH,
				get_site_url() . '/',
				$configs['libraryDir']
			);
		}

		return $configs;
	}
public function filterConfigs ( $ configs ) { if ( ! empty ( $ configs [ 'libraryDir' ] ) ) { $ configs [ 'libraryUrl' ] = str_replace ( ABSPATH , get_site_url ( ) . '/' , $ configs [ 'libraryDir' ] ) ; } return $ configs ; }
Filter the configuration array.

@since 2.2.1

@param  array $configs Configuration array.
@return array
Filter the configuration array .