jetpack_forms_extra_webhooks, array(
jetpack_forms_extra_webhooks, array(
Appears in: jetpack.16.0.1
Hook Type: filter
Displaying hooks found in version: jetpack.16.0.1apply_filters('jetpack_forms_extra_webhooks, array(') is found 1 times:
- /jetpack_vendor/automattic/jetpack-forms/src/contact-form/class-contact-form-plugin.php line 1733
* @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 ); }