Home › Forums › WC Vendors Pro Support › Editing the text on My Account page? › Reply To: Editing the text on My Account page?
March 6, 2017 at 2:23 pm
#58398
Anna
Member
TO remove our message, which is: '<p>To add or edit products, view sales and orders for your vendor account, or to configure your store, visit your Vendor Dashboard.</p>', 'wcvendors-pro'
You can use that filter: wcv_my_account_msg and just remove everything in the message, leaving the single quotes:
/* remove 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 = '';
return $my_account_msg;
}