Remove code for older WP versions

[MAILPOET-3096]
This commit is contained in:
Pavel Dohnal
2020-08-13 09:30:30 +02:00
committed by Veljko V
parent 2548ece703
commit d6fb223114
2 changed files with 1 additions and 42 deletions

View File

@ -27,8 +27,6 @@ class PostEditorBlock {
}
public function init() {
// this has to be here until we drop support for WordPress < 5.0
if (!function_exists('register_block_type')) return;
$this->subscriptionFormBlock->init();
if (is_admin()) {