File manager - Edit - /home/monara/public_html/Hotel_Sapphire_redesign/wp-content/themes/zante-child/functions.php
Back
<?php function my_custom_code() { ?> <!-- start head script --> <script type='text/javascript'> !function(e,n){ var t="bookingengine",o="integration",i=e[t]=e[t]||{},a=i[o]=i[o]||{},r="__cq",c="__loader",d="getElementsByTagName"; if(n=n||[],a[r]=a[r]?a[r].concat(n):n,!a[c]){a[c]=!0;var l=e.document,g=l[d]("head")[0]||l[d]("body")[0]; !function n(i){if(0!==i.length){var a=l.createElement("script");a.type="text/javascript",a.async=!0,a.src="https://"+i[0]+"/integration/loader.js", a.onerror=a.onload=function(n,i){return function(){e[t]&&e[t][o]&&e[t][o].loaded||(g.removeChild(n),i())}}(a,(function(){n(i.slice(1,i.length))})),g.appendChild(a)}}( ["lk-ibe.hopenapi.com", "ibe.hopenapi.com", "ibe.behopenapi.com"])} }(window, [ ["setContext", "BE-INT-test-athavaneng-com_2024-09-20", "en"], ["embed", "booking-form", { container: "be-booking-form" }], ["embed", "search-form", { container: "be-search-form" }], ["setContext", "BE-INT-test-athavaneng-com_2024-09-20.rooms", "en"], ["embed", "booking-form", { container: "be-booking-form-rooms" }], ]); </script> <!-- end head script --> <?php } add_action('wp_head', 'my_custom_code'); function custom_style() { $css_file = get_stylesheet_directory() . '/be-style.css'; $file_mod_time = filemtime($css_file); wp_enqueue_style('be-style', get_stylesheet_directory_uri() . '/be-style.css', array(), $file_mod_time); } add_action('wp_enqueue_scripts', 'custom_style');
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings