woo_sl/get_licence_actions

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInPrint this page

Type
Filter

Arguments
(array) $ignore_actions
(int) $licence_data_id
(text) $domain

Description
Add / Remove Licence Key button action within user order page.

Example of usage
The following sample code remove the Delete button.

    add_filter('woo_sl/get_licence_actions', 'licence_ignore_delete_action', 10, 3);
    function licence_ignore_delete_action($ignore_actions, $licence_id, $domain)
        {
            $ignore_actions['delete']   =   TRUE;
            
            return  $ignore_actions;   
        }

By woocommerce-sl,posted on August 2, 2017