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); Test Post for WordPress | ASB Holdings Skip to the content Home About Hotels News Gallery Enquire Four Seasons Resort Seychelles at Desroches Island Four Seasons Resort The Nam Hai, Hoi An Four Seasons Private Residences, Seychelles Four Seasons Hotel Buenos Aires Four Seasons Safari Lodge Serengeti Four Seasons Resort Seychelles Four Seasons Hotel The Westcliff, Johannesburg Marcus Restaurant (Aug. 2023) Hyatt Regency Addis Ababa Hyatt Regency Dar Es Salaam Park Hyatt Zanzibar The Meikles Hotel, Harare Ngorongoro Lodge member of Meliá Collection (Jul. 2023) Meliá Sea Front Mahe Island (2025) Gran Melia Dubai (2025) Meliá Desert Palm member of Meliá Collection Gran Melia Arusha Meliá London Kensington member of Meliá Collection Gran Melia Iguazu Argentina Meliá Serengeti Lodge member of Meliá Collection Melia Zanzibar Equestrian Association for People with Disabilities Safari Plus Aviation Dubai Polo Club Desert Palm Riding School Desert Palm Residences Home About Us Hotels Four seasons hyatt Melia Desert palm News Gallery Enquire Test Post for WordPress Home News Test Post for WordPress 12 - 2 - 2025 Test Post for WordPress This is a sample post created to test the basic formatting features of the WordPress CMS. Subheading Level 2 You can use bold text, italic text, and combine both styles. Bullet list item #1 Item with bold emphasis And a link: official WordPress site Step one Step two Step three This content is only for demonstration purposes. Feel free to edit or delete it. More News 3 - 2 - 2026 Responsible gambling tips How meth spin can help you stay in control 3 - 2 - 2026 Hvordan Stanozolol Forbedrer Muskeldefinition 2 - 2 - 2026 Vinner Online Casinos etterspurt Norway Rekord Norwegian Casino Sites
This is a sample post created to test the basic formatting features of the WordPress CMS.
You can use bold text, italic text, and combine both styles.
This content is only for demonstration purposes. Feel free to edit or delete it.