jetpack_forms_extra_webhooks
jetpack_forms_extra_webhooks
Appears in: jetpack.15.4
Hook Type: filter
See hook in action
Displaying hooks found in version: jetpack.15.4apply_filters('jetpack_forms_extra_webhooks') is found 1 times:
- /jetpack_vendor/automattic/jetpack-forms/src/contact-form/class-contact-form-plugin.php line 1659
* @param array $extra_webhooks Array of webhook configuration arrays. Default empty array. * @param Contact_Form $form The form instance being processed. * @return array The modified array of webhook configurations. */ $extra_webhooks = apply_filters( 'jetpack_forms_extra_webhooks', array(), $form ); if ( ! empty( $extra_webhooks ) ) { $form->attributes['webhooks'] = array_merge( $form->attributes['webhooks'] ?? array(), $extra_webhooks ); }