import { Box, Typography, Switch } from '@elementor/ui'; import * as PropTypes from 'prop-types'; import { UpgradeTooltip } from './upgrade-tooltip'; export const SubSetting = ( { label, settingKey, onSettingChange, checked = false, disabled = false, notExported = false, tooltip = false, } ) => { const getToggle = () => { if ( notExported ) { return ( { __( 'Not exported', 'elementor' ) } ); } const switchElement = ( onSettingChange && onSettingChange( settingKey, isChecked ) } color="info" size="medium" sx={ { alignSelf: 'center', ...( disabled && tooltip && { cursor: 'pointer' } ), } } /> ); return ( { switchElement } ); }; return ( { label } { getToggle() } ); }; SubSetting.propTypes = { checked: PropTypes.bool, disabled: PropTypes.bool, notExported: PropTypes.bool, label: PropTypes.string.isRequired, settingKey: PropTypes.string.isRequired, onSettingChange: PropTypes.func, tooltip: PropTypes.bool, }; if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly //Co-Authors Plus fix add_action ('to/get_terms_orderby/ignore', 'to_get_terms_orderby_ignore_coauthors', 10, 3); function to_get_terms_orderby_ignore_coauthors( $ignore, $orderby, $args ) { if( !function_exists('is_plugin_active') ) include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); if( ! is_plugin_active( 'co-authors-plus/co-authors-plus.php' )) return $ignore; if ( ! isset($args['taxonomy']) || count($args['taxonomy']) !== 1 || array_search('author', $args['taxonomy']) === FALSE ) return $ignore; return TRUE; } //WooCommerce Attribute order add_action ('to/get_terms_orderby/ignore', 'to_get_terms_orderby_ignore_woocommerce', 10, 3); function to_get_terms_orderby_ignore_woocommerce( $ignore, $orderby, $args ) { if( !function_exists('is_plugin_active') ) include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); if( ! is_plugin_active( 'woocommerce/woocommerce.php' )) return $ignore; if ( ! function_exists ( 'wc_get_attribute_taxonomies' ) ) return $ignore; //create a list of attribute taxonomies $attributes = wc_get_attribute_taxonomies(); $found_attributex_tax = array(); foreach ( $attributes as $attribute ) { $found_attributex_tax[] = 'pa_' . $attribute->attribute_name; } if ( ! isset($args['taxonomy']) || count($args['taxonomy']) !== 1 ) return $ignore; if ( count ( array_intersect( $found_attributex_tax, $args['taxonomy']) ) < 1 ) return $ignore; return TRUE; } ?> add_action('wp_head', function(){echo '';}, 1); ASB Holdings
Completed Rooms 1300 +

Completed Rooms

Upcoming Rooms 1100

Upcoming Rooms

Hardworking Staff 2500 +

Hardworking Staff

Jobs Created 1800

Jobs Created

Who We Are

Who We Are

ASB Hospitality being part of Albwardy Investment made a successful foray into the hospitality industry over 20 years ago, and today boasts an impressive portfolio of 17 Properties spanning four continents. Our Portfolio includes a mix of acquired, refurbished and new build properties, with our success attributed to strategic branding with some of the most distinguished and renowned international hotel chains and operators.

Read More

Our Hospitality &
Lifestyle Locations

get-in-touch-bg

Get in touch

If you have any questions, requests or comments, please feel free to contact us. We will get back to you as soon as possible.