Filter since v1.0.0
fswa_require_https
Controls whether webhook endpoint URLs must use HTTPS.
$
/ Signature
apply_filters( 'fswa_require_https', $require )
/ When it fires
Fires when validating the endpoint URL before dispatch.
/ Parameters
| Name | In | Type | Req | Description |
|---|---|---|---|---|
| $require | param | bool | yes | Whether HTTPS is required. Default: `true`. |
/ Returns
bool Return `false` to allow HTTP endpoints./ Examples
Allow HTTP in development environments
add_filter( 'fswa_require_https', function ( $require ) { return ! ( defined( 'WP_LOCAL_DEV' ) && WP_LOCAL_DEV ); } );
/ Related
Ready Stop losing webhooks.
Stop losing webhooks.
Start logging them.
$ wp plugin install flowsystems-webhook-actions --activate