Default Webhook Name

wpwhpro/admin/webhooks/default_webhook_name

Description:
This filter enables you to manipulate the default webhook name. This makes sense if you want to follow a specific structure for your webhooks.

Parameter Type Description
‘main_’ . rand( 1000, 9999 ) string

A random webhook identifier

 

$default_wehook = apply_filters( 'wpwhpro/admin/webhooks/default_webhook_name', 'main_' . rand( 1000, 9999 ) );
Updated on February 27, 2019

Was this article helpful?

Related Articles