PluginProbe
Post Grid Gutenberg Blocks – PostX / 5.1.1
Post Grid Gutenberg Blocks – PostX v5.1.1
5.1.1 5.1.0 5.0.41 5.0.39 5.0.38 5.0.37 5.0.36 5.0.35 5.0.34 5.0.33 5.0.32 5.0.31 5.0.30 5.0.29 5.0.28 5.0.27 5.0.26 5.0.25 5.0.23 5.0.24 5.0.22 5.0.21 5.0.20 5.0.19 5.0.18 All 240 releases
ultimate-post / includes / notice / interface-notice-type.php

interface-notice-type.php in Post Grid Gutenberg Blocks – PostX 5.1.1, at includes/notice/interface-notice-type.php

45 lines 672 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Notice contract.
4 *
5 * @package ULTP\Notice
6 */
7
8 namespace ULTP\Includes\Notice;
9
10 defined( 'ABSPATH' ) || exit;
11
12 /**
13 * Anything the Notice class can show in wp-admin.
14 */
15 interface Notice_Type {
16
17 /**
18 * Unique key. Also names the transient that remembers a dismissal.
19 *
20 * @return string
21 */
22 public function get_key();
23
24 /**
25 * Whether the notice should show on this request.
26 *
27 * @return bool
28 */
29 public function should_display();
30
31 /**
32 * Queue the stylesheets and scripts the notice needs.
33 *
34 * @return void
35 */
36 public function enqueue_assets();
37
38 /**
39 * Print the notice markup.
40 *
41 * @return void
42 */
43 public function render();
44 }
45