Add public keyword to methods
[MAILPOET-2413]
This commit is contained in:
@ -11,14 +11,14 @@ class PostNotificationsBlank1Column {
|
||||
private $template_image_url;
|
||||
private $social_icon_url;
|
||||
|
||||
function __construct($assets_url) {
|
||||
public function __construct($assets_url) {
|
||||
$this->assets_url = $assets_url;
|
||||
$this->external_template_image_url = 'https://ps.w.org/mailpoet/assets/newsletter-templates/post-notifications-blank-1-column';
|
||||
$this->template_image_url = $this->assets_url . '/img/blank_templates';
|
||||
$this->social_icon_url = $this->assets_url . '/img/newsletter_editor/social-icons';
|
||||
}
|
||||
|
||||
function get() {
|
||||
public function get() {
|
||||
return [
|
||||
'name' => WPFunctions::get()->__("Post Notifications: Blank 1 Column", 'mailpoet'),
|
||||
'categories' => json_encode(['notification', 'blank']),
|
||||
|
Reference in New Issue
Block a user