本文整理汇总了PHP中TravelHelper::ot_all_currency方法的典型用法代码示例。如果您正苦于以下问题:PHP TravelHelper::ot_all_currency方法的具体用法?PHP TravelHelper::ot_all_currency怎么用?PHP TravelHelper::ot_all_currency使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类TravelHelper
的用法示例。
在下文中一共展示了TravelHelper::ot_all_currency方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
if (!class_exists('TravelHelper') or !class_exists('STHotel')) {
return;
}
$custom_settings = array('sections' => array(array('id' => 'option_general', 'title' => __('<i class="fa fa-tachometer"></i> General Options', ST_TEXTDOMAIN)), array('id' => 'option_header', 'title' => __('<i class="fa fa-header"></i> Header Optio ... //#注:代码行过长, 已省略后续字符...
Logo is: <em>my-logo.jpg</em><br>Logo Retina must be: <em>my-logo@2x.jpg</em> ', ST_TEXTDOMAIN), 'type' => 'upload', 'section' => 'option_general', 'std' => get_template_directory_uri() . '/img/logo@2x.png'), a ... //#注:代码行过长, 已省略后续字符...
<ul>
<li><code>d, dd</code>: Numeric date, no leading zero and leading zero, respectively. Eg, 5, 05.</li>
<li><code>m, mm</code>: Numeric month, no leading zero and leading zero, respectively. Eg, 7, 07.</li>
<li><code>M</code>: Abbreviated and full month names, respectively. Eg, Jan, January</li>
<li><code>yy, yyyy:</code> 2- and 4-digit years, respectively. Eg, 12, 2012.</li>
</ul>
', ST_TEXTDOMAIN)), array('id' => 'update_weather_by', 'label' => __('Weather updates:', ST_TEXTDOMAIN), 'type' => 'numeric-slider', 'min_max_step' => '1,12,1', 'std' => 12, 'section' => 'option_advance', 'desc' => __('Weather upda ... //#注:代码行过长, 已省略后续字符...
<li><a href="http://twitter.com/share?url=[__post_permalink__]&title=[__post_title__]" target="_blank" original-title="Twitter"><i class="fa fa-twitter fa-lg"></i></a></li>
<li><a href="https://plus.google.com/share?url=[__post_permalink__]&title=[__post_title__]" target="_blank" original-title="Google+"><i class="fa fa-google-plus fa-lg"></i></a></li>
<li><a class="no-open" href="javascript:void((function()%7Bvar%20e=document.createElement(\'script\');e.setAttribute(\'type\',\'text/javascript\');e.setAttribute(\'charset\',\'UTF-8\');e.setAttribute(\'src\',\'http://assets.pinterest.com/j ... //#注:代码行过长, 已省略后续字符...
<li><a href="http://www.linkedin.com/shareArticle?mini=true&url=[__post_permalink__]&title=[__post_title__]" target="_blank" original-title="LinkedIn"><i class="fa fa-linkedin fa-lg"></i></a></li>'), array('id' => 'booking_modal', ... //#注:代码行过长, 已省略后续字符...
$taxonomy_hotel = st_get_post_taxonomy('st_hotel');
if (!empty($taxonomy_hotel)) {
foreach ($taxonomy_hotel as $k => $v) {
$terms_hotel = get_terms($v['value']);
$ids = array();
if (!empty($terms_hotel)) {
foreach ($terms_hotel as $key => $value) {
$ids[] = array('value' => $value->term_id . "|" . $value->name, 'label' => $value->name);
}
$custom_settings['settings']['flied_hotel']['settings'][] = array('id' => 'custom_terms_' . $v['value'], 'label' => $v['label'], 'condition' => 'name:is(taxonomy),taxonomy:is(' . $v['value'] . ')', 'operator' => 'and', 'type' => 'check ... //#注:代码行过长, 已省略后续字符...
$ids = array();
}
}
}
$custom_settings = apply_filters('st_option_tree_settings', $custom_settings);
示例2: array
<?php
/**
* @package WordPress
* @subpackage Traveler
* @since 1.0
*
* Custom option theme option
*
* Created by ShineTheme
*
*/
if (!class_exists('TravelHelper')) {
return;
}
$custom_settings = array('sections' => array(array('id' => 'option_general', 'title' => __('<i class="fa fa-tachometer"></i> General Options', ST_TEXTDOMAIN)), array('id' => 'option_bc', 'title' => __('<i class="fa fa-tachometer"></i> Breadcrumb O ... //#注:代码行过长, 已省略后续字符...
Logo is: <em>my-logo.jpg</em><br>Logo Retina must be: <em>my-logo@2x.jpg</em> ', ST_TEXTDOMAIN), 'type' => 'upload', 'section' => 'option_general', 'std' => get_template_directory_uri() . '/img/logo@2x.png'), a ... //#注:代码行过长, 已省略后续字符...
<ul>
<li><code>d, dd</code>: Numeric date, no leading zero and leading zero, respectively. Eg, 5, 05.</li>
<li><code>D, DD</code>: Abbreviated and full weekday names, respectively. Eg, Mon, Monday.</li>
<li><code>m, mm</code>: Numeric month, no leading zero and leading zero, respectively. Eg, 7, 07.</li>
<li><code>M, MM</code>: Abbreviated and full month names, respectively. Eg, Jan, January</li>
<li><code>yy, yyyy:</code> 2- and 4-digit years, respectively. Eg, 12, 2012.</li>
</ul>
', ST_TEXTDOMAIN)), array('id' => 'update_weather_by', 'label' => __('Weather updates:', ST_TEXTDOMAIN), 'type' => 'numeric-slider', 'min_max_step' => '1,12,1', 'std' => 12, 'section' => 'option_advance', 'desc' => __('Weather upda ... //#注:代码行过长, 已省略后续字符...
<li><a href="http://twitter.com/share?url=[__post_permalink__]&title=[__post_title__]" target="_blank" original-title="Twitter"><i class="fa fa-twitter fa-lg"></i></a></li>
<li><a href="https://plus.google.com/share?url=[__post_permalink__]&title=[__post_title__]" target="_blank" original-title="Google+"><i class="fa fa-google-plus fa-lg"></i></a></li>
<li><a class="no-open" href="javascript:void((function()%7Bvar%20e=document.createElement(\'script\');e.setAttribute(\'type\',\'text/javascript\');e.setAttribute(\'charset\',\'UTF-8\');e.setAttribute(\'src\',\'http://assets.pinterest.com/j ... //#注:代码行过长, 已省略后续字符...
<li><a href="http://www.linkedin.com/shareArticle?mini=true&url=[__post_permalink__]&title=[__post_title__]" target="_blank" original-title="LinkedIn"><i class="fa fa-linkedin fa-lg"></i></a></li>'), array('id' => 'use_woocommerce_ ... //#注:代码行过长, 已省略后续字符...
$custom_settings = apply_filters('st_option_tree_settings', $custom_settings);