# elementor/4.3.2/modules/atomic-widgets/css-converter/converters/rejected-converter.php

Elementor Website Builder – more than just a page builder, version 4.3.2. 35 lines.

- Page: https://pluginprobe.com/plugins/elementor/4.3.2/code/modules/atomic-widgets/css-converter/converters/rejected-converter.php
- Raw: https://pluginprobe.com/plugins/elementor/4.3.2/raw/modules/atomic-widgets/css-converter/converters/rejected-converter.php
- Modified: 2026-07-20T13:54:42+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/4.3.2/code/modules/atomic-widgets/css-converter/converters/rejected-converter.php#L10-L20`.

```php
<?php

namespace Elementor\Modules\AtomicWidgets\CssConverter\Converters;

use Elementor\Modules\AtomicWidgets\CssConverter\Conversion_Context;
use Elementor\Modules\AtomicWidgets\CssConverter\Property_Converter_Base;

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

/**
 * Claims a property and unconditionally rejects it: the declaration is added to the `rejected`
 * bucket instead of `customCss`. Used for properties that are structurally incompatible with
 * Elementor's style system (e.g. `animation`, `@keyframes`), so the client can surface a hint
 * to the LLM rather than silently emitting broken CSS.
 */
class Rejected_Converter extends Property_Converter_Base {
	private string $property;

	public function __construct( string $property ) {
		$this->property = $property;
	}

	protected function get_supported_properties(): array {
		return [ $this->property ];
	}

	protected function do_convert( Conversion_Context $context, array $rule ): bool {
		$context->reject( $rule['declaration'] . ';' );

		return true;
	}
}

```
