woocommerce_admin_product_term_list

woocommerce_admin_product_term_list

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

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_admin_product_term_list') is found 2 times:

  • /includes/admin/list-tables/class-wc-admin-list-table-products.php line 232
    			foreach ( $terms as $term ) {
    				$termlist[] = '<a href="' . esc_url( admin_url( 'edit.php?product_cat=' . $term->slug . '&post_type=product' ) ) . ' ">' . esc_html( $term->name ) . '</a>';
    			}
    
    			echo apply_filters( 'woocommerce_admin_product_term_list', implode( ', ', $termlist ), 'product_cat', $this->object->get_id(), $termlist, $terms ); // WPCS: XSS ok.
    		}
    	}
    
    	/**
    	 * Render column: product_tag.
    	 */
    
  • /includes/admin/list-tables/class-wc-admin-list-table-products.php line 249
    			foreach ( $terms as $term ) {
    				$termlist[] = '<a href="' . esc_url( admin_url( 'edit.php?product_tag=' . $term->slug . '&post_type=product' ) ) . ' ">' . esc_html( $term->name ) . '</a>';
    			}
    
    			echo apply_filters( 'woocommerce_admin_product_term_list', implode( ', ', $termlist ), 'product_tag', $this->object->get_id(), $termlist, $terms ); // WPCS: XSS ok.
    		}
    	}
    
    	/**
    	 * Render column: featured.
    	 */