woocommerce_my_account_my_address_description хук-фильтр . WC 1.0
Использование
add_filter( 'woocommerce_my_account_my_address_description', 'filter_function_name_8132' ); function filter_function_name_8132( $esc_html__ ){ // filter... return $esc_html__; }
- $esc_html__
- -
Где вызывается хук
В файле: /templates/myaccount/my-address.php
woocommerce_my_account_my_address_description
woocommerce/templates/myaccount/my-address.php 46
<?php echo apply_filters( 'woocommerce_my_account_my_address_description', esc_html__( 'The following addresses will be used on the checkout page by default.', 'woocommerce' ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>