@wordpress/hooks
Version:
WordPress hooks library.
11 lines • 377 B
TypeScript
export default validateNamespace;
/**
* Validate a namespace string.
*
* @param {string} namespace The namespace to validate - should take the form
* `vendor/plugin/function`.
*
* @return {boolean} Whether the namespace is valid.
*/
declare function validateNamespace(namespace: string): boolean;
//# sourceMappingURL=validateNamespace.d.ts.map