'; $i= 2;$j = 0; foreach($divi_PX_pre_text_preloader_spilt as $px_char){ $px_delay = $j + 0.2; $px_spilt_text .= ''.esc_attr($px_char).''; $px_spilt_css .= '.txt-loading .letters-loading:nth-child('.esc_attr($i).'):before {animation-delay: '.esc_attr($px_delay).'s;}'; $j = $px_delay ; $i++; } $px_spilt_text .= ''; $allowed_tags = array( 'span' => array( 'data-text-preloader' => array(), 'class' => array() ), 'div' => array( 'class' => array() ), ); echo wp_kses($px_spilt_text,$allowed_tags); ?>