Created
November 17, 2015 16:42
-
-
Save bentasm1/1d3be3dcd0a3c1d1fbad to your computer and use it in GitHub Desktop.
WC Vendors Pro -- Disable the Product Delete Button
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* WC Vendors Pro - Disable Product Delete */ | |
add_filter('wcv_product_table_row_actions_delete', 'custom_wcv_product_table_row_actions_delete'); | |
function custom_wcv_product_table_row_actions_delete() { | |
$text = ''; | |
return $text; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment