PluginProbe
BlockSpare – Gutenberg Blocks, AI Content Generator & Site Builder for News, Magazine & Blogs / 5.0.1
BlockSpare – Gutenberg Blocks, AI Content Generator & Site Builder for News, Magazine & Blogs v5.0.1
5.0.1 4.1.0 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.1.0 1.1.1 1.1.2 1.2.0 1.2.1 1.2.2 1.2.3 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 2.1.2 2.5.0 2.5.3 All 39 releases
blockspare / inc / theme-builder / class-blockspare-tb-condition-interface.php

class-blockspare-tb-condition-interface.php in BlockSpare – Gutenberg Blocks, AI Content Generator & Site Builder for News, Magazine & Blogs 5.0.1, at inc/theme-builder/class-blockspare-tb-condition-interface.php

31 lines 554 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3
4 defined('ABSPATH') || exit;
5
6 interface Blockspare_TB_Condition_Interface
7 {
8
9 /**
10 * Unique slug for this condition, e.g. 'category', 'author'.
11 *
12 * @return string
13 */
14 public function get_slug();
15
16 /**
17 * Human-readable label for the admin UI.
18 *
19 * @return string
20 */
21 public function get_label();
22
23 /**
24 * Determines whether this condition matches the current request.
25 *
26 * @param array $settings Condition-specific settings, e.g. ['term_id' => 12].
27 * @return bool
28 */
29 public function is_match($settings);
30 }
31