HEX
Server: Apache/2.4.25
System: Linux ion14 4.9.0-8-amd64 #1 SMP Debian 4.9.144-3.1 (2019-02-19) x86_64
User: (10087)
PHP: 7.4.30
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,system, exec, shell_exec, passthru, popen, proc_open
Upload Files
File: /home/www/web115/wordpress/wp-content/themes/osmosis/vc_templates/vc_column_text.php
<?php
	$el_class = $data = '';

	extract(
		shortcode_atts(
			array(
				'text_style' => '',
				'animation' => '',
				'animation_delay' => '200',
				'el_class' => '',
				'el_id' => '',
				'css' => '',
			),
			$atts
		)
	);

	if ( !empty( $animation ) ) {
		$animation = 'grve-' .$animation;
	}

	$text_classes = array( 'grve-element', 'grve-text' );
	$css_custom = grve_vc_shortcode_custom_css_class( $css, '' );

	if ( !empty( $animation ) ) {
		array_push( $text_classes, 'grve-animated-item' );
		array_push( $text_classes, $animation);
		$data = 'data-delay="' . $animation_delay . '"';
	}
	if ( !empty( $text_style ) ) {
		array_push( $text_classes, 'grve-' . $text_style );
	}
	if ( !empty( $el_class ) ) {
		array_push( $text_classes, $el_class);
	}

	if ( !empty( $css_custom ) ) {
		array_push( $text_classes, $css_custom );
	}

	$text_class_string = implode( ' ', $text_classes );

	$content = wpautop(preg_replace('/<\/?p\>/', "\n", $content)."\n");

	$wrapper_attributes = array();
	$wrapper_attributes[] = 'class="' . esc_attr( trim( $text_class_string ) ) . '"';
	if ( ! empty( $el_id ) ) {
		$wrapper_attributes[] = 'id="' . esc_attr( $el_id ) . '"';
	}
	if ( ! empty( $data ) ) {
		$wrapper_attributes[] = $data;
	}

	echo '<div ' . implode( ' ', $wrapper_attributes ) . '>' . do_shortcode( shortcode_unautop( $content ) ) . '</div>';

//Omit closing PHP tag to avoid accidental whitespace output errors.