Skip to content

Commit

Permalink
Criação de novo metadata spam_status Ref.: #1
Browse files Browse the repository at this point in the history
  • Loading branch information
israelmelo committed Sep 5, 2024
1 parent 37dcecf commit e069cf0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,12 @@ public function register() {
'type' => 'DateTime',
'default' => null,
]);

$this->registerMetadata($namespace,'spam_status', [
'label' => i::__('Classificar como Spam'),
'type' => 'boolean',
'default' => true,
]);
}
}

Expand Down

0 comments on commit e069cf0

Please sign in to comment.