Update FILTERS.md

This commit is contained in:
Tetrakern 2025-01-04 17:45:59 +01:00
parent 37561eb521
commit 691ed90d08

View File

@ -927,10 +927,11 @@ Filters the story message array passed to `fictioneer_discord_send_message()` in
--- ---
### `apply_filters( 'fictioneer_filter_discord_chapter_webhook', $post, $story_id )` ### `apply_filters( 'fictioneer_filter_discord_chapter_webhook', $webhook, $post, $story_id )`
Filters the webhook used for the Discord notification about a new chapters. Filters the webhook used for the Discord notification about a new chapters.
**Parameters:** **Parameters:**
* $webhook (string) - The Discord webhook.
* $post (WP_Post) - The chapter post. * $post (WP_Post) - The chapter post.
* $story_id (int|null) - The ID of the story post (if any). Unsafe. * $story_id (int|null) - The ID of the story post (if any). Unsafe.