support: docs
Shared support screen for Mammoth WP plugins: wp_mail tickets with an opt-in site report.
Generated from the public repository support(opens in a new tab) at release v1.1.1.
Install
composer require mammothwp/support Usage snippets
Taken from the repository's README and docs.
composer require mammothwp/support \MammothWP\Support\Support::register_plugin( __FILE__, [
'email' => '[email protected]', // required: where tickets for THIS plugin go
] ); {
"email": "[email protected]",
"docs_url": "https://example.com/docs"
} {
"require": { "mammothwp/support": "^1.1" }
} add_filter( 'mmwp_support_report_sections', function ( array $sections ): array {
$sections[] = new My_Plugin_Report_Section(); // implements \MammothWP\Support\Report\Section_Interface
return $sections;
} ); In these docs
1 actions, 12 filters, 3 rest routes, 3 abilities, 3 commands.