Video: add a Support screen to a WordPress plugin in about a minute
This is a screen recording of the setup in the mammothwp/support guide. It shows the install, the register_plugin() call, and the Support screen in wp-admin. There is no voiceover; captions are burned in. The recording was made on a local test site (WordPress 7.1.4, mammothwp/support v1.1.1).
Screen recording of composer require, register_plugin(), and the Support form. No voiceover; captions are burned in.
What the video shows
The chapters follow the integration in order.
Install the package (0:03). The recording starts with composer require mammothwp/support in the plugin directory. The guide states that the package requires PHP 8.1 or newer and pulls in mammothwp/wp-kit ^2.0.
Register the plugin (0:10). Next is one register_plugin() call in the main plugin file, after the Composer autoloader is loaded, passing the address that should receive tickets for that plugin. Name, version and slug come from the plugin header.
Open Tools > Support (0:20). In this recording the form lives under Tools > Support, with no new top-level menu. The user fills in the form in wp-admin, and the site sends one email with wp_mail().
The site report (0:33). The box that includes the site report is unticked by default. Preview what will be sent shows the exact report text. The report is attached to the email only if the box is ticked.
No email, Send disabled (0:50). The recording then removes the email from register_plugin(). The plugin is still listed, but sending is disabled. The guide is specific here: without a valid address the Send button is disabled, _doing_it_wrong() is raised, and there is no fallback address.
The guide link (1:05). The walkthrough ends on the written guide, which covers the call, JSON configuration, menu placement, a WP-CLI dry run, custom report sections, and when the package is not the right fit.
For the code, the options and the edge cases, use the full guide:
Add a support screen to your WordPress plugin with mammothwp/support