@wordpress/hooks
Advanced tools
+2
-2
| { | ||
| "name": "@wordpress/hooks", | ||
| "version": "4.29.0", | ||
| "version": "4.29.1-next.f34ab90e9.0", | ||
| "description": "WordPress hooks library.", | ||
@@ -36,3 +36,3 @@ "author": "The WordPress Contributors", | ||
| }, | ||
| "gitHead": "445ede01e8abc8e49a1101b21a3651adbe852120" | ||
| "gitHead": "91f58004986ec6faf118825f925ac7873d171986" | ||
| } |
+16
-0
@@ -57,2 +57,18 @@ # Hooks | ||
| ## Parameters | ||
| ### hookName | ||
| Should be a non empty string containing only numbers, letters, dashes, periods and underscores. Also, the hook name cannot begin with `__`. | ||
| - Type: `String` | ||
| - Required: Yes | ||
| ### namespace | ||
| Should be a non empty string containing only numbers, letters, dashes, periods, underscores and slashes. It should take the form `vendor/plugin/function`. | ||
| - Type: `String` | ||
| - Required: Yes | ||
| ### Events on action/filter add or remove | ||
@@ -59,0 +75,0 @@ |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
236408
0.18%91
21.33%1
Infinity%