Type
Filter
Arguments
(array) $disabled_buttons
(int) $licence_data_id
(text) $domain
Description
This filter is designed to deactivate and block specific actions within the License Management interface, providing enhanced control and restriction over available functionalities.
Example of usage
The following sample code disable the Delete action. You can remove the Delete button using the following filter woo_sl/license_manage/disabled_buttons
add_filter('woo_sl/license_manage/disabled_actions', '_licence_manage_disabled_actions', 10, 3); function _licence_manage_disabled_actions($ignore_actions, $licence_id, $domain) { $ignore_actions['delete'] = FALSE; return $ignore_actions; }