get_type() == 'crowdfunding') { if (WPNEOCF()->campaignValid()) { $recomanded_price = get_post_meta($post->ID, 'wpneo_funding_recommended_price', true); $min_price = get_post_meta($post->ID, 'wpneo_funding_minimum_price', true); $max_price = get_post_meta($post->ID, 'wpneo_funding_maximum_price', true); $predefined_price = get_post_meta($post->ID, 'wpcf_predefined_pledge_amount', true); if ( ! empty($predefined_price)){ $predefined_price = apply_filters('wpcf_predefined_pledge_amount_array_a', explode(',', $predefined_price)); } //print_r($predefined_price); if(function_exists( 'get_woocommerce_currency_symbol' )){ $currency = get_woocommerce_currency_symbol(); } if (! empty($_GET['reward_min_amount'])){ $recomanded_price = (int) esc_html($_GET['reward_min_amount']); } ?> '; foreach ($predefined_price as $price){ $price = trim($price); $wooPrice = wc_price($price); echo "
  • {$wooPrice}
  • "; } echo ""; } $wpneo_campaign_end_method = get_post_meta(get_the_ID(), 'wpneo_campaign_end_method', true); if ( $wpneo_campaign_end_method == 'target_goal' && $wpneo_campaign_end_method == 'target_date' && $wpneo_campaign_end_method == 'target_goal_and_date' ) { ?>
    '.__('Campaign is over', 'backer').''; } } else { if ( ! WPNEOCF()->is_campaign_started()){ WPNEOCF()->campaign_start_countdown(); }else{ _e('This campaign has been invalid or not started yet.','backer'); } } } ?>