# elementor/3.35.0-dev3/core/admin/notices/base-notice.php

Elementor Website Builder – more than just a page builder, version 3.35.0-dev3. 26 lines.

- Page: https://pluginprobe.com/plugins/elementor/3.35.0-dev3/code/core/admin/notices/base-notice.php
- Raw: https://pluginprobe.com/plugins/elementor/3.35.0-dev3/raw/core/admin/notices/base-notice.php
- Modified: 2023-04-23T11:22:46+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.0-dev3/code/core/admin/notices/base-notice.php#L10-L20`.

```php
<?php
namespace Elementor\Core\Admin\Notices;

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

abstract class Base_Notice {
	/**
	 * Determine if the notice should be printed or not.
	 *
	 * @return boolean
	 */
	abstract public function should_print();

	/**
	 * Returns the config of the notice itself.
	 * based on that config the notice will be printed.
	 *
	 * @see \Elementor\Core\Admin\Admin_Notices::admin_notices
	 *
	 * @return array
	 */
	abstract public function get_config();
}

```
