public function has_variable_prices()
{
$option = get_post_meta($this->ID, '_give_price_option', true);
$ret = 0;
if ($option === 'multi') {
$ret = 1;
}
/**
* Filter: Override whether the donation form has variables prices.
*
* @param bool $ret Does donation form have variable prices?
* @param int|string The ID of the donation form.
*/
return (bool) apply_filters('give_has_variable_prices', $ret, $this->ID);
}