woocommerce_product_attribute_term_name

woocommerce_product_attribute_term_name

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_product_attribute_term_name') is found 1 times:

  • /includes/admin/meta-boxes/views/html-product-attribute-inner.php line 67
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
                 * @since 3.4.0
                 * @param string  $name Name of selected term.
                 * @param array   $term The selected term object.
                 */
                echo '<option value="' . esc_attr( $selected_term->term_id ) . '" selected="selected">' . esc_html( apply_filters( 'woocommerce_product_attribute_term_name', $selected_term->name, $selected_term ) ) . '</option>';
            }
        }
        ?>
    </select>
    <button class="button plus select_all_attributes"><?php esc_html_e( 'Select all', 'woocommerce' ); ?></button>
    <button class="button minus select_no_attributes"><?php esc_html_e( 'Select none', 'woocommerce' ); ?></button>