本文整理匯總了PHP中BYT_Theme_Utils::find_extra_field方法的典型用法代碼示例。如果您正苦於以下問題:PHP BYT_Theme_Utils::find_extra_field方法的具體用法?PHP BYT_Theme_Utils::find_extra_field怎麽用?PHP BYT_Theme_Utils::find_extra_field使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類BYT_Theme_Utils
的用法示例。
在下文中一共展示了BYT_Theme_Utils::find_extra_field方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1:
echo '<p>' . __('We are sorry, this accommodation is not available to book at the moment', 'bookyourtravel') . '</p>';
}
} else {
BYT_Theme_Utils::render_field('text-wrap', '', '', __('We are sorry, there are no rooms available at this accommodation at the moment', 'bookyourtravel'), '', true, true);
}
}
?>
<?php
BYT_Theme_Utils::render_tab_extra_fields('accommodation_extra_fields', $accommodation_extra_fields, 'availability', $accommodation_obj);
?>
<?php
do_action('byt_show_single_accommodation_availability_after');
?>
</article>
</section>
<!--description-->
<section id="description" class="tab-content <?php
echo $first_display_tab == 'description' ? 'initial' : '';
?>
">
<article>
<?php
do_action('byt_show_single_accommodation_description_before');
BYT_Theme_Utils::render_field("text-wrap", "", "", $accommodation_obj->get_description(), __('General', 'bookyourtravel'), false, false, false);
BYT_Theme_Utils::render_field("text-wrap", "", "", $check_in_time, __('Check-in time', 'bookyourtravel'), false, false, false);
BYT_Theme_Utils::render_field("text-wrap", "", "", $check_out_time, __('Check-out time', 'bookyourtravel'), false, false, false);
BYT_Theme_Utils::render_tab_extra_fields('accommodation_extra_fields', $accommodation_extra_fields, 'description', $accommodation_obj);
do_action('byt_show_single_accommodation_description_after');
?>
</article>
</section>