woocommerce_my_account_message

woocommerce_my_account_message

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_my_account_message') is found 1 times:

  • /includes/shortcodes/class-wc-shortcode-my-account.php line 43
    			return;
    		}
    
    		if ( ! is_user_logged_in() || isset( $wp->query_vars['lost-password'] ) ) {
    			$message = apply_filters( 'woocommerce_my_account_message', '' );
    
    			if ( ! empty( $message ) ) {
    				wc_add_notice( $message );
    			}
    
    			// After password reset, add confirmation message.