You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Filters the chapter message array passed to `fictioneer_discord_send_message()` in `_module-discord.php` before it is encoded as JSON. Allows you to customize the webhook message. If made falsy, the message will not be sent.
878
878
879
879
**Parameters:**
880
-
*'message' (array) – The message and fields posted to the Discord webhook.
880
+
*$message (array) – The message and fields posted to the Discord webhook.
881
881
* 'content' (string) - The actual discord message.
882
882
* 'embeds' (array) - Array of array with embedded items. Only uses the `0` index item.
883
883
*`0` (array) - First item in the array of embeds.
@@ -892,8 +892,8 @@ Filters the chapter message array passed to `fictioneer_discord_send_message()`
892
892
* 'footer' (string|null) - Optional. Title of the story.
893
893
* 'thumbnail' (array|null) - Optional. Array of thumbnail data.
894
894
* 'url' (string) - Thumbnail URL.
895
-
*'post' (WP_Post) – The new chapter being published.
896
-
*'story_id' (int|null) – The ID of the associated story if set. Unsafe.
895
+
*$post (WP_Post) – The new chapter being published.
896
+
*$story_id (int|null) – The ID of the associated story if set. Unsafe.
0 commit comments