gca_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 Airtable.
Usage
Applied globally
add_filter( 'gca_show_danger_zone', 'my_custom_function' );Parameters
$show_danger_zone
bool
Whether the “Danger Zone” section should be shown in the plugin settings.
Since
1.0.0Hook added.