@wordpress/url
Version:
WordPress URL utilities.
14 lines • 394 B
TypeScript
/**
* Returns the query string part of the URL.
*
* @param url The full URL.
*
* @example
* ```js
* const queryString = getQueryString( 'http://localhost:8080/this/is/a/test?query=true#fragment' ); // 'query=true'
* ```
*
* @return The query string part of the URL.
*/
export declare function getQueryString(url: string): string | void;
//# sourceMappingURL=get-query-string.d.ts.map