You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@wordpress/hooks

Package Overview
Dependencies
Maintainers
23
Versions
238
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wordpress/hooks - npm Package Compare versions

Comparing version
4.29.0
to
4.29.1-next.f34ab90e9.0
+2
-2
package.json
{
"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"
}

@@ -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 @@