本文整理汇总了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>