PATH:
home
/
lab2454c
/
igpma.com
/
wp-content
/
plugins
/
woocommerce
/
packages
/
woocommerce-blocks
/
assets
/
js
/
utils
/** * External dependencies */ import { getQueryArg } from '@wordpress/url'; /** * Returns specified parameter from URL * * @param {string} name Parameter you want the value of. */ export const PREFIX_QUERY_ARG_QUERY_TYPE = 'query_type_'; export const PREFIX_QUERY_ARG_FILTER_TYPE = 'filter_'; export function getUrlParameter( name: string ) { if ( ! window ) { return null; } return getQueryArg( window.location.href, name ); }
[-] index.ts
[edit]
[-] products.js
[edit]
[+]
..
[-] attributes.js
[edit]
[-] filters.ts
[edit]
[-] attributes-query.js
[edit]
[-] shared-attributes.js
[edit]
[-] useThrottle.ts
[edit]
[-] notices.ts
[edit]
[-] global-style.js
[edit]
[+]
test