Get all Webhooks

wpwhpro/admin/webhooks/get_hooks

Description:
This filter enables you to manipulate the currently active filters. The hook is called every time the active filters are pulled.

Parameter Type Description
$return array

All available webhooks (triggers & actions)

$type string

The type of the hooks you want to get (triggers, actions, all (default))

$group string

The group for all webhook urls of a trigger. For Actions it is not set.

$single string

The single definition of a webhook. (Identifier like create_post)

 


return apply_filters( 'wpwhpro/admin/webhooks/get_hooks', $return, $type, $group, $single ) ;

Updated on August 10, 2019

Was this article helpful?

Related Articles