woocommerce_my_account_message filter-hookWC 2.6.0

Filters the message shown on the 'my account' page when the user is not logged in.

Usage

add_filter( 'woocommerce_my_account_message', 'wp_kama_woocommerce_my_account_message_filter' );

/**
 * Function for `woocommerce_my_account_message` filter-hook.
 * 
 * @param  $string 
 *
 * @return 
 */
function wp_kama_woocommerce_my_account_message_filter( $string ){

	// filter...
	return $string;
}
$string
-

Changelog

Since 2.6.0 Introduced.

Where the hook is called

WC_Shortcode_My_Account::my_account_add_notices()
woocommerce_my_account_message
woocommerce/includes/shortcodes/class-wc-shortcode-my-account.php 75
$message = apply_filters( 'woocommerce_my_account_message', '' );

Where the hook is used in WooCommerce

Usage not found.