This action should be used in conjunction with the
gfpdf_settings_tools filter to add new functionality to Gravity PDF. While the
gfpdf_settings_tools filter adds the new button to the admin area, the
gfpdf_tool_tab_actions does all the actual validation and processing.
$settings | array
- An associative array which contains the Tool tab form
$_POST['gfpdf_settings']data. Use this to check if a user clicked on a specific action.
The following snippet shows you how to correctly process a button called
prefix_flush_logs, which we've assumed was included in the Tools tab using the
Note: it's very important you don't skip on the nonce verification!
This filter is located in the
Helper_Options_Fields::get_registered_fields() method of