From 691ed90d08583d31bfd9a34fcad1627624a03def Mon Sep 17 00:00:00 2001 From: Tetrakern <26898880+Tetrakern@users.noreply.github.com> Date: Sat, 4 Jan 2025 17:45:59 +0100 Subject: [PATCH] Update FILTERS.md --- FILTERS.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/FILTERS.md b/FILTERS.md index 5425787d..a40f99b9 100644 --- a/FILTERS.md +++ b/FILTERS.md @@ -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. **Parameters:** +* $webhook (string) - The Discord webhook. * $post (WP_Post) - The chapter post. * $story_id (int|null) - The ID of the story post (if any). Unsafe.