Use new notice API for "Add a Pay Method" notice

Part of #3396
This commit is contained in:
Brent Shepherd 2013-11-05 16:12:14 -08:00
parent fe969d0903
commit 3e08e29f9e
1 changed files with 1 additions and 1 deletions

View File

@ -367,7 +367,7 @@ class WC_Shortcode_My_Account {
do_action( 'before_woocommerce_add_payment_method' ); do_action( 'before_woocommerce_add_payment_method' );
wc_add_message( __( 'Add a new payment method.', 'woocommerce' ) ); wc_add_notice( __( 'Add a new payment method.', 'woocommerce' ) );
wc_print_messages(); wc_print_messages();