Skip to content

Instantly share code, notes, and snippets.

@fervous
Created January 14, 2017 18:37
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 fervous/56f32069387d0003fb43a18a935a2299 to your computer and use it in GitHub Desktop.
Save fervous/56f32069387d0003fb43a18a935a2299 to your computer and use it in GitHub Desktop.
change my account message to vendors WC Vendors Pro
/* change the message on the my-account page for vendors */
add_filter( 'wcv_my_account_msg', 'custom_wcv_my_account_msg' );
function custom_wcv_my_account_msg( $my_account_msg ) {
$my_account_msg = '<p>CHANGE this message here.... visit your <a href="%s">Vendor Dashboard</a>.</p>';
return $my_account_msg;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment