Replace all WP function calls

This commit is contained in:
Amine Ben hammou
2019-02-20 18:56:48 +01:00
committed by M. Shull
parent 986482e34b
commit 0a436087e1
176 changed files with 1066 additions and 803 deletions

View File

@ -1,6 +1,7 @@
<?php
namespace MailPoet\Config\PopulatorData\Templates;
use MailPoet\WP\Functions as WPFunctions;
class RetroComputingMagazine {
@ -14,7 +15,7 @@ class RetroComputingMagazine {
function get() {
return array(
'name' => __("Retro Computing Magazine", 'mailpoet'),
'name' => WPFunctions::get()->__("Retro Computing Magazine", 'mailpoet'),
'categories' => json_encode(array('standard', 'all')),
'readonly' => 1,
'thumbnail' => $this->getThumbnail(),