Skip to content

Commit e069cf0

Browse files
committedSep 5, 2024
Criação de novo metadata spam_status Ref.: #1
1 parent 37dcecf commit e069cf0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
 

‎Plugin.php

+6
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,12 @@ public function register() {
170170
'type' => 'DateTime',
171171
'default' => null,
172172
]);
173+
174+
$this->registerMetadata($namespace,'spam_status', [
175+
'label' => i::__('Classificar como Spam'),
176+
'type' => 'boolean',
177+
'default' => true,
178+
]);
173179
}
174180
}
175181

0 commit comments

Comments
 (0)
Please sign in to comment.