woocommerce_email_footer_text хук-фильтрWC 1.0

Использование

add_filter( 'woocommerce_email_footer_text', 'wp_kama_woocommerce_email_footer_text_filter' );

/**
 * Function for `woocommerce_email_footer_text` filter-hook.
 * 
 * @param  $option 
 *
 * @return 
 */
function wp_kama_woocommerce_email_footer_text_filter( $option ){

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

Где вызывается хук

В файле: /packages/woocommerce-blocks/templates/emails/plain/customer-new-account-blocks.php
woocommerce_email_footer_text
woocommerce/packages/woocommerce-blocks/templates/emails/plain/customer-new-account-blocks.php 38
echo wp_kses_post( apply_filters( 'woocommerce_email_footer_text', get_option( 'woocommerce_email_footer_text' ) ) );
woocommerce/templates/emails/plain/admin-new-order.php 58
echo wp_kses_post( apply_filters( 'woocommerce_email_footer_text', get_option( 'woocommerce_email_footer_text' ) ) );
woocommerce/templates/emails/plain/customer-reset-password.php 43
echo wp_kses_post( apply_filters( 'woocommerce_email_footer_text', get_option( 'woocommerce_email_footer_text' ) ) );
woocommerce/templates/emails/plain/customer-completed-order.php 60
echo wp_kses_post( apply_filters( 'woocommerce_email_footer_text', get_option( 'woocommerce_email_footer_text' ) ) );
woocommerce/templates/emails/plain/customer-on-hold-order.php 59
echo wp_kses_post( apply_filters( 'woocommerce_email_footer_text', get_option( 'woocommerce_email_footer_text' ) ) );
woocommerce/templates/emails/plain/customer-note.php 67
echo wp_kses_post( apply_filters( 'woocommerce_email_footer_text', get_option( 'woocommerce_email_footer_text' ) ) );
woocommerce/templates/emails/plain/customer-new-account.php 46
echo wp_kses_post( apply_filters( 'woocommerce_email_footer_text', get_option( 'woocommerce_email_footer_text' ) ) );
woocommerce/templates/emails/plain/customer-processing-order.php 60
echo wp_kses_post( apply_filters( 'woocommerce_email_footer_text', get_option( 'woocommerce_email_footer_text' ) ) );
woocommerce/templates/emails/plain/customer-refunded-order.php 65
echo wp_kses_post( apply_filters( 'woocommerce_email_footer_text', get_option( 'woocommerce_email_footer_text' ) ) );
woocommerce/templates/emails/plain/customer-invoice.php 79
echo wp_kses_post( apply_filters( 'woocommerce_email_footer_text', get_option( 'woocommerce_email_footer_text' ) ) );
woocommerce/templates/emails/plain/admin-failed-order.php 58
echo wp_kses_post( apply_filters( 'woocommerce_email_footer_text', get_option( 'woocommerce_email_footer_text' ) ) );
woocommerce/templates/emails/plain/admin-cancelled-order.php 58
echo wp_kses_post( apply_filters( 'woocommerce_email_footer_text', get_option( 'woocommerce_email_footer_text' ) ) );
woocommerce/templates/emails/email-footer.php 43
<?php echo wp_kses_post( wpautop( wptexturize( apply_filters( 'woocommerce_email_footer_text', get_option( 'woocommerce_email_footer_text' ) ) ) ) ); ?>
woocommerce/includes/react-admin/emails/plain-admin-report-export-download.php 19
echo wp_kses_post( apply_filters( 'woocommerce_email_footer_text', get_option( 'woocommerce_email_footer_text' ) ) );
woocommerce/includes/react-admin/emails/plain-merchant-notification.php 23
echo wp_kses_post( apply_filters( 'woocommerce_email_footer_text', get_option( 'woocommerce_email_footer_text' ) ) );

Где используется хук в WooCommerce

woocommerce/includes/class-wc-emails.php 208
add_filter( 'woocommerce_email_footer_text', array( $this, 'replace_placeholders' ) );