1. Home
  2. Plugins
  3. WP Webhooks
  4. For Devs
  5. Filter
  6. Filter generated API key for action URLs
  1. Home
  2. For Devs
  3. Filter
  4. Filter generated API key for action URLs

Filter generated API key for action URLs

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 );
Updated on July 1, 2020

Was this article helpful?

Related Articles