Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions lib/Cleantalk/ApbctWP/WcSpamOrdersListTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,16 @@ private function generatePageHeader()
<p>Please do backup of WordPress database before delete any orders!</p>
<p>Results are based on the decision of our spam checking system and do not give a complete guarantee that
these orders are spam.</p>
<?php
if ($this->apbct->settings['data__wc_store_blocked_orders'] != 1) {
echo '<p style="color: red;">'
. __(
'To store WooCommerce spam orders, enable the "Store blocked WooCommerce orders" option in CleanTalk settings.',
'cleantalk-spam-protect'
)
. '</p>';
}
?>
</div>
<?php
}
Expand Down