---
title: "fswa_skipped — Action Hook"
description: "Fires when a webhook is skipped because its conditions did not pass."
url: "https://wpwebhooks.org/docs/fswa-skipped/"
---

[WP Webhooks](https://wpwebhooks.org/) / [Docs](https://wpwebhooks.org/docs/) / fswa\_skipped

Action since v1.7.0

# fswa\_skipped

Fires when a webhook is skipped because its conditions did not pass.

/ Signature

```
do_action( 'fswa_skipped', $trigger, $webhook_id, $reason )
```

/ When it fires

Fires after condition evaluation fails, before the log entry is written. The event is still logged with a `skipped` status.

/ Parameters

| Name | In | Type | Req | Description |
| --- | --- | --- | --- | --- |
| $trigger | param | string | yes | WordPress action name. |
| $webhook\_id | param | int | yes | Webhook configuration ID. |
| $reason | param | array|null | — | The failed condition rule, or \`null\` if the reason is unavailable. |

/ Examples

Count skipped events in a custom stats table

```
add_action( 'fswa_skipped', function ( $trigger, $webhook_id, $reason ) {
    global $wpdb;
    $wpdb->query( $wpdb->prepare(
        "INSERT INTO {$wpdb->prefix}my_skip_stats (webhook_id, trigger_name, skipped_at)
         VALUES (%d, %s, NOW())",
        $webhook_id, $trigger
    ) );
}, 10, 3 );
```

/ Related

[Conditional Dispatch](https://wpwebhooks.org/docs/conditional-dispatch/)[fswa\_should\_dispatch](https://wpwebhooks.org/docs/fswa-should-dispatch/)[Webhook Replay](https://wpwebhooks.org/docs/webhook-replay/)

/Ready

## Your next automation is  
one sentence away.

[Install Plugin→](https://wordpress.org/plugins/flowsystems-webhook-actions/) [See the Plugin →](https://wpwebhooks.org/wordpress-webhook-plugin/)

$ wp plugin install flowsystems-webhook-actions --activate

## Structured data

```json
{"@context":"https://schema.org","@type":"TechArticle","name":"fswa_skipped — Action Hook — Webhook Actions Docs","description":"Fires when a webhook is skipped because its conditions did not pass.","url":"https://wpwebhooks.org/docs/fswa-skipped/","isPartOf":{"@type":"WebSite","name":"WP Webhooks","url":"https://wpwebhooks.org"},"about":{"@type":"SoftwareApplication","name":"Webhook Actions","applicationCategory":"WordPress Plugin"}}
```
