<div class="col-xs-12"> <div class="form-option"> <?php wp_nonce_field('submit_property', 'property_nonce'); ?> <input type="hidden" name="action" value="update_property"/> <input type="hidden" name="property_id" value="<?php echo esc_attr($target_property->ID); ?> "/> <input type="submit" value="<?php _e('Update Property', 'inspiry'); ?> " class="btn-small btn-orange"/> </div> <div id="message-container"></div> </div> </div> <!-- .row --> </form> <?php } else { VR_Functions::vr_message(__('Oops', 'inspiry'), __('It appears that, Provided property does not belong to you!', 'inspiry')); } } else { VR_Functions::vr_message(__('Oops', 'inspiry'), __('It appears that, Provided property id is invalid!', 'inspiry')); }