Disable Post Notifications Plugin

Somewhat unusually for a site that sells ebooks, I offer a WordPress plugin. I asked ChatGPT to help me with a plugin to solve a particular problem. This is the support page for same. You are free to use this plugin but please note I did not write this! – Ron Dudderie

Description

The Disable Post Notifications plugin adds a simple checkbox to the WordPress post editor, allowing you to disable email notifications for individual posts. This is especially useful if you want to control which posts send notifications without turning off notifications site-wide.

Features

  • Adds a checkbox to the post editor to disable email notifications.
  • Allows granular control over post notifications.
  • Easy to implement and use.
  • Ensures no email notifications are sent for selected posts.

Installation

  1. Download the Plugin:
  2. Upload the Plugin:
    • Go to your WordPress dashboard.
    • Navigate to Plugins > Add New.
    • Click Upload Plugin.
    • Choose the downloaded zip file and click Install Now.
  3. Activate the Plugin:
    • After installation, click Activate to start using the plugin.

Usage

  1. Create or Edit a Post:
    • Go to the post editor by creating a new post or editing an existing one.
  2. Disable Notifications:
    • In the right sidebar, find the Disable Email Notifications meta box.
    • Check the box labeled Disable email notifications for this post.
  3. Publish or Update the Post:
    • Publish or update your post as usual.
    • If the checkbox is checked, no email notifications will be sent for this post.

Screenshots

  1. Meta Box in Post Editor:
    • Screenshot of the toggle box

Changelog

Version 1.0

  • Initial release with basic functionality to disable post notifications via a checkbox. Tested with WordPress 6.6.

Frequently Asked Questions

Q: Does this plugin disable all email notifications? A: No, it only disables notifications for the posts where you check the “Disable email notifications for this post” checkbox.

Q: Will this plugin affect existing posts? A: No, it will only affect posts where the checkbox is checked after the plugin is installed and activated.

Q: Can I re-enable notifications for a post? A: Yes, simply uncheck the box and update the post to re-enable notifications.

Support

For support, questions, or suggestions, you are entirely on your own. Ask ChatGPT to review the script.