woocommerce_get_price_html, $price, $this

woocommerce_get_price_html, $price, $this

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

apply_filters('woocommerce_get_price_html, $price, $this') is found 3 times:

  • /includes/abstracts/abstract-wc-product.php line 2042
    		} 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 131
    		} 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 190
     
    			$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