<?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(); }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
base-notice.php | File | 515 B | 0644 |
|
elementor-dev-notice.php | File | 3.66 KB | 0644 |
|