wpwhpro/admin/webhooks/generate_api_key
Description:
This filter allows you manipulate the newly generated API key for the webhook action URL. You can use it to shorten or extend the length of it, change its value, etc.
Parameter | Type | Description |
---|---|---|
$password | string | The newly generated API key |
$length | integer | The length of the newly generated API key |
return apply_filters( 'wpwhpro/admin/webhooks/generate_api_key', $password, $length );