We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d01e08 commit cfa8c87Copy full SHA for cfa8c87
src/editor-settings.php
@@ -30,6 +30,18 @@ function __construct() {
30
* @return void
31
*/
32
public function register_settings() {
33
+ register_setting(
34
+ 'stackable_editor_settings',
35
+ 'stackable_hide_cimo_notice',
36
+ array(
37
+ 'type' => 'boolean',
38
+ 'description' => __( 'Hides the Cimo download notice.', STACKABLE_I18N ),
39
+ 'sanitize_callback' => 'rest_sanitize_boolean',
40
+ 'show_in_rest' => true,
41
+ 'default' => false,
42
+ )
43
+ );
44
+
45
register_setting(
46
'stackable_editor_settings',
47
'stackable_block_states',
0 commit comments