woocommerce_get_price_html

woocommerce_get_price_html

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_get_price_html') is found 3 times:

  • /includes/abstracts/abstract-wc-product.php line 1921
    		} else {
    			$price = wc_price( wc_get_price_to_display( $this ) ) . $this->get_price_suffix();
    		}
    
    		return apply_filters( 'woocommerce_get_price_html', $price, $this );
    	}
    
    	/**
    	 * Get product name with SKU or ID. Used within admin.
    	 *
    	 * @return string Formatted product name
    
  • /includes/class-wc-product-grouped.php line 128
    		} else {
    			$price = apply_filters( 'woocommerce_grouped_empty_price_html', '', $this );
    		}
    
    		return apply_filters( 'woocommerce_get_price_html', $price, $this );
    	}
    
    	/*
    	|--------------------------------------------------------------------------
    	| Getters
    	|--------------------------------------------------------------------------
    
  • /includes/class-wc-product-variable.php line 186
     
    			$price = apply_filters( 'woocommerce_variable_price_html', $price . $this->get_price_suffix(), $this );
    		}
    
    		return apply_filters( 'woocommerce_get_price_html', $price, $this );
    	}
    
    	/**
    	 * Get the suffix to display after prices > 0.
    	 *
    	 * This is skipped if the suffix