← All changes
|
includes/blocks/form-builder/block-attr-sanitizer/interfaces/sanitizer-interface.php
+17
-0
2.7.4
→
2.16.0
View file →
| @@ -1,0 +1,17 @@ | ||
| 1 | +<?php | |
| 2 | +namespace ABlocks\Blocks\FormBuilder\BlockAttrSanitizer\Interfaces; | |
| 3 | + | |
| 4 | +use WP_Post; | |
| 5 | + | |
| 6 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 7 | + exit; | |
| 8 | +} | |
| 9 | + | |
| 10 | +interface SanitizerInterface { | |
| 11 | + | |
| 12 | + public function __construct( WP_Post $post); | |
| 13 | + public function modify_attr( array $attr) : array; | |
| 14 | + public function verify( array $attr) : bool; | |
| 15 | + public function find_block( array $blocks) : array; | |
| 16 | + public function sanitize() : void; | |
| 17 | +} | |