1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
<?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(); }
|