Ejemplo n.º 1
0
<?php

/**
 * @package WordPress
 * @subpackage Traveler
 * @since 1.0
 *
 * User Update hotel
 *
 * Created by ShineTheme
 *    value="<?php echo get_post_meta( $post_id , '' , true); ?>"
 */
if (STUser_f::st_check_edit_partner(STInput::request('id')) == false) {
    return false;
}
$post_id = STInput::request('id');
$post = get_post($post_id);
$validator = STUser_f::$validator;
?>
<div class="st-create">
    <h2 class="pull-left"><?php 
_e("Edit Hotel", ST_TEXTDOMAIN);
?>
</h2>
    <a target="_blank" href="<?php 
echo get_the_permalink($post_id);
?>
" class="btn btn-default pull-right"><?php 
_e("Preview", ST_TEXTDOMAIN);
?>
</a>