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.8.7.0

apply_filters('woocommerce_product_attribute_term_name') is found 1 times:

  • /includes/admin/meta-boxes/views/html-product-attribute-inner.php line 60
    								 * @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>