gcn_show_danger_zone
Description
Filter whether the “Danger Zone” section should be shown in the plugin settings.
Right now, the only utility in the Danger Zone is purging the Action Scheduler queue.
Even if this filter is set to true, the user must have uninstall capabilities for GC Notion.
Usage
add_filter( 'gcn_show_danger_zone', 'my_custom_function' );
Parameters
show_danger_zone bool
Whether the “Danger Zone” section should be shown in the plugin settings.
Since
This filter is available since Gravity Connect Notion 1.0.0.