예제 #1
0
function success_message_shortcode_handler($atts, $content = '')
{
    $output = '';
    $output .= '<div class="reservation_content">
	                <div class="reservation-success-message bg-gray text-center">
	                    <h4>Thank you.</h4>
	                    <p>You have successfully booked, <br />we will review your booking information and contact you shortly for confirmation.</p>
	                    <a href="' . page_permalink('rooms-suits') . '" class="bdr-btn bdr-btn-fill-black">Find Rooms</a>
	                </div>
	            </div>';
    $output .= success_booking_details();
    return $output;
}
예제 #2
0
function redirect_by_page_path($path)
{
    exit(wp_redirect(page_permalink($path)));
}