Skip to content

Instantly share code, notes, and snippets.

@bentasm1
Created March 1, 2016 18:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bentasm1/b06aa9e229f68d0f2855 to your computer and use it in GitHub Desktop.
Save bentasm1/b06aa9e229f68d0f2855 to your computer and use it in GitHub Desktop.
WC Vendors Pro - Change "Save Pending" to something else
/* 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