HEX
Server: LiteSpeed
System: Linux pulsar191.sitesanctuary.org 5.14.0-284.30.1.el9.tuxcare.els9.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jan 10 17:34:05 UTC 2025 x86_64
User: lgooir (1604)
PHP: 8.1.32
Disabled: exec,system,passthru,shell_exec,escapeshellarg,escapeshellcmd,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/lgooir/www/wp-content/themes/woodmart/inc/integrations/gutenberg/src/blocks/slider/assets.php
<?php
$assets = array(
	'styles'    => array( 'swiper', 'block-slider' ),
	'scripts'   => array( 'swiper-carousel', 'slider-element' ),
	'libraries' => array( 'swiper' ),
);

if ( ! empty( $this->attrs['effect'] ) && 'distortion' === $this->attrs['effect'] ) {
	$assets['styles'][]  = 'slider-anim-distortion';
	$assets['scripts'][] = 'slider-distortion';
}

if ( ! isset( $this->attrs['arrows'] ) || $this->attrs['arrows'] || ! isset( $this->attrs['arrowsTablet'] ) || $this->attrs['arrowsTablet'] || ! isset( $this->attrs['arrowsMobile'] ) || $this->attrs['arrowsMobile'] ) {
	$assets['styles'][] = 'swiper-arrows';

	if ( isset( $this->attrs['arrowsStyle'] ) && in_array( $this->attrs['arrowsStyle'], array( '2', '3' ), true ) ) {
		$assets['styles'][] = 'slider-arrows';
	}
}

if ( ! isset( $this->attrs['pagination'] ) || $this->attrs['pagination'] || ! isset( $this->attrs['paginationTablet'] ) || $this->attrs['paginationTablet'] || ! isset( $this->attrs['paginationMobile'] ) || $this->attrs['paginationMobile'] ) {
	$assets['styles'][] = 'swiper-pagin';

	if ( ! empty( $this->attrs['paginationStyle'] ) ) {
		if ( '2' === $this->attrs['paginationStyle'] ) {
			$assets['styles'][] = 'slider-dots-style-2';
		} elseif ( '3' === $this->attrs['paginationStyle'] ) {
			$assets['styles'][] = 'slider-dots-style-3';
		}
	}
}

if ( ! empty( $this->attrs['shapeDividerTopIcon'] ) || ! empty( $this->attrs['shapeDividerBottomIcon'] ) ) {
	$assets['styles'][] = 'block-shape-divider';
}

return $assets;