# elementor/3.35.8/modules/atomic-widgets/props-resolver/multi-props.php

Elementor Website Builder – more than just a page builder, version 3.35.8. 29 lines.

- Page: https://pluginprobe.com/plugins/elementor/3.35.8/code/modules/atomic-widgets/props-resolver/multi-props.php
- Raw: https://pluginprobe.com/plugins/elementor/3.35.8/raw/modules/atomic-widgets/props-resolver/multi-props.php
- Modified: 2024-12-10T14:19:32+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/elementor/3.35.8/code/modules/atomic-widgets/props-resolver/multi-props.php#L10-L20`.

```php
<?php

namespace Elementor\Modules\AtomicWidgets\PropsResolver;

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

class Multi_Props {
	public static function is( $value ) {
		return (
			! empty( $value['$$multi-props'] ) &&
			true === $value['$$multi-props'] &&
			array_key_exists( 'value', $value )
		);
	}

	public static function generate( $value ) {
		return [
			'$$multi-props' => true,
			'value' => $value,
		];
	}

	public static function get_value( $value ) {
		return $value['value'] ?? null;
	}
}

```
