WP Discord Post

0

WP Discord Post is a free plugin for WordPress that uses a Discord bot and Webhook URL to write in your desired channel in your Discord server whenever a new post is published on your b

Version
Last updated
Active installations
WordPress Version
Tested up to
pa_languages
Rating
Total ratings
Tag
This plugin is outdated and might not be supported anymore.

Description

WP Discord Post is a free plugin for WordPress that uses a Discord bot and Webhook URL to write in your desired channel in your Discord server whenever a new post is published on your blog.

You can configure it by going to Settings > WP Discord Post and filling in all the details. The fields are all required. Click on the links “Learn more” in the description of the fields to learn how to get the necessary data.

Compatible with contact forms

WP Discord Post is compatible with Contact Form 7, Jetpack Contact Form, and Gravity Forms sending the content of each form to your Discord before it is sent via email as well.

Compatible with WooCommerce

WP Discord Post is also compatible with WooCommerce, sending a new message to Discord every time a new order is created on your shop, or when a new product is added to the catalog.

Compatible with any custom post type

WP Discord Post supports any post type, with a bit of custom code. If you want to send a message for your custom post type add this code to your functions.php file in wp-content/themes/your-child-theme-name/:

add_action( 'publish_{post_type}', array( WP_Discord_Post::instance()->post, 'send' ), 10, 2 );

Make sure to replace {post_type} with the slug of the post type that you want to use, for example if you registered a post type book you would use:

add_action( 'publish_book', array( WP_Discord_Post::instance()->post, 'send' ), 10, 2 );

Privacy Info

This plugin sends private user data to Discord. Different data are sent based on what features you use:

  • Posts: Author name
  • Contact Forms: Any user data collected via the form
  • Orders: Customer and order details

Once the data are sent they are under Discord’s control and the plugin cannot remove them from their servers.

Learn more about Discord’s privacy policy at https://discordapp.com/privacy.

Developers Resources

WP Discord Post comes with some hooks that you can use to customize how the plugin works. Here is a list of them:

Filters

  • wp_discord_post_post_content
  • wp_discord_post_post_embed
  • wp_discord_post_embed_image_size
  • wp_discord_post_woocommerce_order_content
  • wp_discord_post_allowed_order_statuses
  • wp_discord_post_product_embed
  • wp_discord_post_order_embed
  • wp_discord_post_{context}_webhook_url
  • wp_discord_post_webhook_url
  • wp_discord_post_request_body_args
  • wp_discord_post_request_args
  • wp_discord_post_process_old_posts
  • wp_discord_post_is_new_post
  • wp_discord_post_meme_tag
  • wp_discord_post_meme_rating
  • wp_discord_post_embed_enabled

Actions

  • wp_discord_post_init
  • wp_discord_post_before_request
  • wp_discord_post_after_request

Roadmap

  • Option to mention @everyone on each post singularly
  • Discord notification for post comments
  • Discord notification when updating WooCommerce products (stock and sales updates)
  • Sales reports for WooCommerce in Discord
  • Discord notification on newsletter signup for MailChimp (TBC)
  • Compatibility with Yoast SEO and OpenGraph
  • Compatibility with WooCommerce Subscriptions
  • Compatibility with WooCommerce Memberships
  • More ideas? Tell me in the support forum