Rename filter
This commit is contained in:
parent
36f2b7d744
commit
147ad7e953
|
@ -23,7 +23,7 @@ if ( $related_products ) : ?>
|
|||
|
||||
<section class="related products">
|
||||
<?php
|
||||
$heading = apply_filters( 'woocommerce_product_related_heading', __( 'Related products', 'woocommerce' ) );
|
||||
$heading = apply_filters( 'woocommerce_product_related_products_heading', __( 'Related products', 'woocommerce' ) );
|
||||
if ( $heading ) : ?>
|
||||
<h2><?php echo esc_html( $heading ); ?></h2>
|
||||
<?php endif; ?>
|
||||
|
|
Loading…
Reference in New Issue