Created
March 1, 2016 18:58
-
-
Save bentasm1/b06aa9e229f68d0f2855 to your computer and use it in GitHub Desktop.
WC Vendors Pro - Change "Save Pending" to something else
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 - Change Save Pending button on add/edit product form to some other text */ | |
add_filter( 'wcv_product_save_button', 'custom_wcv_product_save_button' ); | |
function custom_wcv_product_save_button() { | |
$args = array( | |
'id' => 'save_button', | |
'value' => 'Submit', // Default is 'Save Pending', change to whatever you like between the single quotes | |
'class' => '' | |
); | |
return $args; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment