| Server IP : 159.203.156.69 / Your IP : 216.73.217.172 Web Server : nginx/1.24.0 System : Linux main-ubuntu 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/php/green-estate-prod/wp-content/themes/spaciaz/inc/elementor/ |
Upload File : |
<?php
if ( ! function_exists( 'spaciaz_elementor_parse_text_editor' ) ) {
function spaciaz_elementor_parse_text_editor( $content, $obj ) {
$content = apply_filters( 'widget_text', $content, $obj->get_settings() );
$content = shortcode_unautop( $content );
$content = do_shortcode( $content );
$content = wptexturize( $content );
if ( $GLOBALS['wp_embed'] instanceof \WP_Embed ) {
$content = $GLOBALS['wp_embed']->autoembed( $content );
}
return $content;
}
}
if ( ! function_exists( 'spaciaz_elementor_get_strftime' ) ) {
function spaciaz_elementor_get_strftime( $instance, $obj ) {
$string = '';
if ( $instance['show_days'] ) {
$string .= $obj->render_countdown_item( $instance, 'label_days', 'days', 'elementor-countdown-days' );
}
if ( $instance['show_hours'] ) {
$string .= $obj->render_countdown_item( $instance, 'label_hours', 'hours', 'elementor-countdown-hours' );
}
if ( $instance['show_minutes'] ) {
$string .= $obj->render_countdown_item( $instance, 'label_minutes', 'minutes', 'elementor-countdown-minutes' );
}
if ( $instance['show_seconds'] ) {
$string .= $obj->render_countdown_item( $instance, 'label_seconds', 'seconds', 'elementor-countdown-seconds' );
}
return $string;
}
}