Type
Filter
Arguments
(array) $disabled_buttons
(int) $licence_data_id
(text) $domain
Description
This filter serves to deactivate particular buttons within the License Management interface, offering enhanced control and customization over the functionality of the interface.
Example of usage
The following sample code removes the Delete button.
add_filter('woo_sl/license_manage/get_disabled_buttons', '_licence_manage_get_disabled_buttons', 10, 3); function _licence_manage_get_disabled_buttons( $disabled_buttons, $licence_id, $domain ) { $disabled_buttons['delete'] = TRUE; return $disabled_buttons; }Read more