# elementor/3.24.8/modules/element-manager/options.php

Elementor Website Builder – more than just a page builder, version 3.24.8. 22 lines.

- Page: https://pluginprobe.com/plugins/elementor/3.24.8/code/modules/element-manager/options.php
- Raw: https://pluginprobe.com/plugins/elementor/3.24.8/raw/modules/element-manager/options.php
- Modified: 2023-11-13T17:19:04+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.24.8/code/modules/element-manager/options.php#L10-L20`.

```php
<?php
namespace Elementor\Modules\ElementManager;

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

class Options {

	public static function get_disabled_elements() {
		return (array) get_option( 'elementor_disabled_elements', [] );
	}

	public static function update_disabled_elements( $elements ) {
		update_option( 'elementor_disabled_elements', (array) $elements );
	}

	public static function is_element_disabled( $element_name ) {
		return in_array( $element_name, self::get_disabled_elements() );
	}
}

```
