woocommerce_get_price_html

woocommerce_get_price_html

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.5

apply_filters('woocommerce_get_price_html') is found 3 times:

  • /includes/abstracts/abstract-wc-product.php line 1947
    		} else {
    			$price = wc_price( wc_get_price_to_display( $this ) ) . $this->get_price_suffix();
    		}
    
    		return apply_filters( 'woocommerce_get_price_html', $price, $this );
    	}
    
    	/**
    	 * Returns the Cost of Goods Sold value in html format.
    	 *
    	 * @return string
    
  • /includes/class-wc-product-grouped.php line 130
    		} 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 189
     
    			$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