Add or remove tables from the danger zone truncation method. This is useful for cleaning up your own plugin/themes table based on a danger zone action that has been taken
Source
PHP
apply_filters(“wpgmza_settings_danger_zone_truncate_tables”, $filteredTables, $type)
Arguments
- $filteredTables : The tables which are about to be truncated (array)
- $type : The type of danger zone action being actioned (string)
Requirements
- Must return the $filteredTables array with changes applied
Files
- includes/class.plugin.php
This loop will action data truncation proceed with caution.
