woocommerce_my_account_shortcode_tag filter-hookWC 2.1.0

Determines the my account shortcode tag used on the my account page.

Usage

add_filter( 'woocommerce_my_account_shortcode_tag', 'wp_kama_woocommerce_my_account_shortcode_tag_filter' );

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

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

Changelog

Since 2.1.0 Introduced.

Where the hook is called

WC_Install::create_pages()
woocommerce_my_account_shortcode_tag
WC_Settings_Advanced::get_settings_for_default_section()
woocommerce_my_account_shortcode_tag
WC_REST_System_Status_V2_Controller::get_pages()
woocommerce_my_account_shortcode_tag
woocommerce/includes/class-wc-install.php 715
$my_account_shortcode = apply_filters( 'woocommerce_my_account_shortcode_tag', 'woocommerce_my_account' );
woocommerce/includes/admin/settings/class-wc-settings-advanced.php 106
'desc'     => sprintf( __( 'Page contents: [%s]', 'woocommerce' ), apply_filters( 'woocommerce_my_account_shortcode_tag', 'woocommerce_my_account' ) ),
woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php 1265
'shortcode' => '[' . apply_filters( 'woocommerce_my_account_shortcode_tag', 'woocommerce_my_account' ) . ']',

Where the hook is used in WooCommerce

Usage not found.