What output does these two acf variable gives? [on hold]
Question
i am confused with term get_sub_field(‘new_start_dateend_date’));
and
get_sub_field(‘start_date/end_date’) how these values will be displayed ?? are they single value or different values?
if (!empty(get_sub_field('new_start_dateend_date'))) {
$dis_per = get_sub_field('new_discount');
$dateS = explode('-', get_sub_field('new_start_dateend_date'));
and
if (have_rows('small_group_journey', $pid)):
while (have_rows('small_group_journey', $pid)):the_row();
if (!empty(get_sub_field('start_date/end_date'))) {
$dis_per = get_sub_field('journey_discount');
$dateS = explode('-', get_sub_field('start_date/end_date'));
0
advanced-custom-fields, custom-post-types
4 years
2019-11-04T11:41:05-05:00
2019-11-04T11:41:05-05:00 0 Answers
62 views
0
Leave an answer