

Settings page with webhook + template fields
Init Pulse For Discord sends automatic notifications to your Discord channel whenever a post is published or updated.
This plugin is part of the Init Plugin Suite — a collection of minimalist, fast, and developer-focused tools for WordPress.
GitHub repository: https://github.com/brokensmile2103/init-pulse-for-discord
Perfect for:
Straightforward configuration:
Clean, minimal, and built for performance — no bloat, no external SDKs.
Key design goals:
wp_options with autoload = no{title} — post title{title_url} — markdown title linking to URL{url} — post URL{excerpt} — trimmed excerpt{site_name} — your site’s name{author} — post author display name{categories} — comma-separated category names{tags} — comma-separated tag names{post_type} — post type label{date} — published date (site format){views}, {views_short}, {milestone} placeholders. Each milestone is sent once per post. Gracefully inactive (with a link to install it) when Init View Count isn’t active — no errors, no broken settings.Navigate to:
Settings Init Pulse For Discord
Available fields:
Field
Purpose
Post Types
Which post types trigger a notification
Webhook URL
Where notifications are sent (with a Send Test Message button)
Username
Display name of your bot
Avatar URL
Custom bot avatar (optional)
Include Featured Image
Adds featured image as embed
Use Rich Embed
Toggle formatted embed vs. plain-text message
Embed Color
Accent color for the embed sidebar
Timeout / Retries
Reliability controls
Message Template
Markdown-ready content, used as the embed description or full message
Notify on View Milestones
Enable Discord alerts when a post’s view count crosses a threshold (requires Init View Count)
View Milestones
Comma-separated view counts (e.g. 1000, 5000, 10000)
Milestone Message Template
Separate template for milestone alerts, with {views}, {views_short}, {milestone} placeholders
The settings screen also shows a Delivery Log with the outcome of your most recent notifications.
Role IDs can be configured in:
Example mention result:
<@&123456789012345678> New post published!
init_plugin_suite_pulse_for_discord_payload
Modify the final webhook payload before sending.
Params: array $payload, int $post_id, string $context
init_plugin_suite_pulse_for_discord_milestone_payload
Modify the webhook payload for a milestone notification before sending.
Params: array $payload, int $post_id, int $views, int $milestone
Example:
add_filter(‘init_plugin_suite_pulse_for_discord_payload’, function($payload) {
$payload[‘content’] .= “\nCustom footer”;
return $payload;
});
This plugin is licensed under the GPLv2 or later.
You are free to use, modify, and distribute it under the same license.