本文整理匯總了PHP中wpl_global::remove_qs_var方法的典型用法代碼示例。如果您正苦於以下問題:PHP wpl_global::remove_qs_var方法的具體用法?PHP wpl_global::remove_qs_var怎麽用?PHP wpl_global::remove_qs_var使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類wpl_global
的用法示例。
在下文中一共展示了wpl_global::remove_qs_var方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: __
<?php
echo __('Your property successfully finalized!', WPL_TEXTDOMAIN);
?>
</span>
<div class="finilize-btn-wp">
<?php
$listing_target_page = wpl_global::get_client() == 1 ? wpl_global::get_setting('backend_listing_target_page') : NULL;
$property_link = wpl_property::get_property_link('', $this->property_id, $listing_target_page);
$new_link = wpl_global::remove_qs_var('pid', wpl_global::get_full_url());
if ($this->kind) {
$new_link = wpl_global::add_qs_var('kind', $this->kind, $new_link);
}
if (wpl_global::get_client() == 1) {
$manager_link = wpl_global::add_qs_var('kind', $this->kind, wpl_global::get_wpl_admin_menu('wpl_admin_listings'));
} else {
$manager_link = wpl_global::add_qs_var('kind', $this->kind, wpl_global::remove_qs_var('wplmethod', wpl_global::remove_qs_var('pid')));
}
?>
<a class="wpl-button button-2" target="_blank" href="<?php
echo $property_link;
?>
"><?php
echo __('View this listing', WPL_TEXTDOMAIN);
?>
</a>
<a class="wpl-button button-2" href="<?php
echo $new_link;
?>
"><?php
echo __('Add new listing', WPL_TEXTDOMAIN);
?>
示例2: wpl_search_location
}
function wpl_search_location(name, level)
{
name = wplj("#wpl_search_location").val();
url = '<?php
echo wpl_global::get_full_url();
?>
'+'&sf_text_name='+name;
window.location = url;
}
function wpl_reset_search_location()
{
url = '<?php
echo wpl_global::remove_qs_var('sf_text_name');
?>
';
window.location = url;
}
function wpl_show_countries(enabled_status)
{
url = wpl_update_qs('sf_select_enabled', enabled_status);
window.location = url;
}
function wpl_remove_location(level, location_id, confirmed)
{
if(!location_id || !level)
{