change categories in templates [MAILPOET-1557]
This commit is contained in:
@ -15,7 +15,7 @@ class AppWelcome {
|
||||
function get() {
|
||||
return array(
|
||||
'name' => __("App Welcome", 'mailpoet'),
|
||||
'categories' => json_encode(array('welcome', 'sample')),
|
||||
'categories' => json_encode(array('welcome', 'all')),
|
||||
'readonly' => 1,
|
||||
'thumbnail' => $this->getThumbnail(),
|
||||
'body' => json_encode($this->getBody()),
|
||||
|
@ -15,7 +15,7 @@ class Avocado {
|
||||
function get() {
|
||||
return array(
|
||||
'name' => __("Avocado", 'mailpoet'),
|
||||
'categories' => json_encode(array('woocommerce', 'sample')),
|
||||
'categories' => json_encode(array('woocommerce', 'all')),
|
||||
'readonly' => 1,
|
||||
'thumbnail' => $this->getThumbnail(),
|
||||
'body' => json_encode($this->getBody()),
|
||||
|
@ -15,7 +15,7 @@ class Charity {
|
||||
function get() {
|
||||
return array(
|
||||
'name' => __("Charity", 'mailpoet'),
|
||||
'categories' => json_encode(array('standard', 'sample')),
|
||||
'categories' => json_encode(array('standard', 'all')),
|
||||
'readonly' => 1,
|
||||
'thumbnail' => $this->getThumbnail(),
|
||||
'body' => json_encode($this->getBody()),
|
||||
|
@ -15,7 +15,7 @@ class Coffee {
|
||||
function get() {
|
||||
return array(
|
||||
'name' => __("Coffee", 'mailpoet'),
|
||||
'categories' => json_encode(array('standard', 'sample')),
|
||||
'categories' => json_encode(array('standard', 'all')),
|
||||
'readonly' => 1,
|
||||
'thumbnail' => $this->getThumbnail(),
|
||||
'body' => json_encode($this->getBody()),
|
||||
|
@ -15,7 +15,7 @@ class DogFood {
|
||||
function get() {
|
||||
return array(
|
||||
'name' => __("Dog Food", 'mailpoet'),
|
||||
'categories' => json_encode(array('woocommerce', 'sample')),
|
||||
'categories' => json_encode(array('woocommerce', 'all')),
|
||||
'readonly' => 1,
|
||||
'thumbnail' => $this->getThumbnail(),
|
||||
'body' => json_encode($this->getBody()),
|
||||
|
@ -15,7 +15,7 @@ class Drone {
|
||||
function get() {
|
||||
return array(
|
||||
'name' => __("Drone", 'mailpoet'),
|
||||
'categories' => json_encode(array('standard', 'sample')),
|
||||
'categories' => json_encode(array('standard', 'all')),
|
||||
'readonly' => 1,
|
||||
'thumbnail' => $this->getThumbnail(),
|
||||
'body' => json_encode($this->getBody()),
|
||||
|
@ -15,7 +15,7 @@ class Faith {
|
||||
function get() {
|
||||
return array(
|
||||
'name' => __("Faith", 'mailpoet'),
|
||||
'categories' => json_encode(array('standard', 'sample')),
|
||||
'categories' => json_encode(array('standard', 'all')),
|
||||
'readonly' => 1,
|
||||
'thumbnail' => $this->getThumbnail(),
|
||||
'body' => json_encode($this->getBody()),
|
||||
|
@ -15,7 +15,7 @@ class FashionStore {
|
||||
function get() {
|
||||
return array(
|
||||
'name' => __("Fashion Store", 'mailpoet'),
|
||||
'categories' => json_encode(array('standard', 'sample')),
|
||||
'categories' => json_encode(array('standard', 'all')),
|
||||
'readonly' => 1,
|
||||
'thumbnail' => $this->getThumbnail(),
|
||||
'body' => json_encode($this->getBody()),
|
||||
|
@ -15,7 +15,7 @@ class FestivalEvent {
|
||||
function get() {
|
||||
return array(
|
||||
'name' => __("Festival Event", 'mailpoet'),
|
||||
'categories' => json_encode(array('standard', 'sample')),
|
||||
'categories' => json_encode(array('standard', 'all')),
|
||||
'readonly' => 1,
|
||||
'thumbnail' => $this->getThumbnail(),
|
||||
'body' => json_encode($this->getBody()),
|
||||
|
@ -15,7 +15,7 @@ class Fitness {
|
||||
function get() {
|
||||
return array(
|
||||
'name' => __("Fitness", 'mailpoet'),
|
||||
'categories' => json_encode(array('woocommerce', 'sample')),
|
||||
'categories' => json_encode(array('woocommerce', 'all')),
|
||||
'readonly' => 1,
|
||||
'thumbnail' => $this->getThumbnail(),
|
||||
'body' => json_encode($this->getBody()),
|
||||
|
@ -16,7 +16,7 @@ class FoodBox {
|
||||
function get() {
|
||||
return array(
|
||||
'name' => __("Welcome to FoodBox", 'mailpoet'),
|
||||
'categories' => json_encode(array('standard', 'sample')),
|
||||
'categories' => json_encode(array('standard', 'all')),
|
||||
'readonly' => 1,
|
||||
'thumbnail' => $this->getThumbnail(),
|
||||
'body' => json_encode($this->getBody()),
|
||||
|
@ -15,7 +15,7 @@ class GiftWelcome {
|
||||
function get() {
|
||||
return array(
|
||||
'name' => __("Gift Welcome", 'mailpoet'),
|
||||
'categories' => json_encode(array('welcome', 'sample')),
|
||||
'categories' => json_encode(array('welcome', 'all')),
|
||||
'readonly' => 1,
|
||||
'thumbnail' => $this->getThumbnail(),
|
||||
'body' => json_encode($this->getBody()),
|
||||
|
@ -15,7 +15,7 @@ class Hotels {
|
||||
function get() {
|
||||
return array(
|
||||
'name' => __("Hotels", 'mailpoet'),
|
||||
'categories' => json_encode(array('standard', 'sample')),
|
||||
'categories' => json_encode(array('standard', 'all')),
|
||||
'readonly' => 1,
|
||||
'thumbnail' => $this->getThumbnail(),
|
||||
'body' => json_encode($this->getBody()),
|
||||
|
@ -15,7 +15,7 @@ class KidsClothing {
|
||||
function get() {
|
||||
return array(
|
||||
'name' => __("Kids Clothing", 'mailpoet'),
|
||||
'categories' => json_encode(array('woocommerce', 'sample')),
|
||||
'categories' => json_encode(array('woocommerce', 'all')),
|
||||
'readonly' => 1,
|
||||
'thumbnail' => $this->getThumbnail(),
|
||||
'body' => json_encode($this->getBody()),
|
||||
|
@ -15,7 +15,7 @@ class Minimal {
|
||||
function get() {
|
||||
return array(
|
||||
'name' => __("Minimal", 'mailpoet'),
|
||||
'categories' => json_encode(array('welcome', 'sample')),
|
||||
'categories' => json_encode(array('welcome', 'all')),
|
||||
'readonly' => 1,
|
||||
'thumbnail' => $this->getThumbnail(),
|
||||
'body' => json_encode($this->getBody()),
|
||||
|
@ -15,7 +15,7 @@ class ModularStyleStories {
|
||||
function get() {
|
||||
return array(
|
||||
'name' => __("Modular Style Stories", 'mailpoet'),
|
||||
'categories' => json_encode(array('notification', 'sample')),
|
||||
'categories' => json_encode(array('notification', 'all')),
|
||||
'readonly' => 1,
|
||||
'thumbnail' => $this->getThumbnail(),
|
||||
'body' => json_encode($this->getBody()),
|
||||
|
@ -15,7 +15,7 @@ class Music {
|
||||
function get() {
|
||||
return array(
|
||||
'name' => __("Music", 'mailpoet'),
|
||||
'categories' => json_encode(array('standard', 'sample')),
|
||||
'categories' => json_encode(array('standard', 'all')),
|
||||
'readonly' => 1,
|
||||
'thumbnail' => $this->getThumbnail(),
|
||||
'body' => json_encode($this->getBody()),
|
||||
|
@ -15,7 +15,7 @@ class NewsDay {
|
||||
function get() {
|
||||
return array(
|
||||
'name' => __("News Day", 'mailpoet'),
|
||||
'categories' => json_encode(array('standard', 'sample')),
|
||||
'categories' => json_encode(array('standard', 'all')),
|
||||
'readonly' => 1,
|
||||
'thumbnail' => $this->getThumbnail(),
|
||||
'body' => json_encode($this->getBody()),
|
||||
|
@ -15,7 +15,7 @@ class NewsletterBlank121Column {
|
||||
function get() {
|
||||
return array(
|
||||
'name' => __("Newsletter: Blank 1:2:1 Column", 'mailpoet'),
|
||||
'categories' => json_encode(array('standard', 'blank')),
|
||||
'categories' => json_encode(array('standard')),
|
||||
'readonly' => 1,
|
||||
'thumbnail' => $this->getThumbnail(),
|
||||
'body' => json_encode($this->getBody()),
|
||||
|
@ -15,7 +15,7 @@ class NewsletterBlank12Column {
|
||||
function get() {
|
||||
return array(
|
||||
'name' => __("Newsletter: Blank 1:2 Column", 'mailpoet'),
|
||||
'categories' => json_encode(array('standard', 'blank')),
|
||||
'categories' => json_encode(array('standard')),
|
||||
'readonly' => 1,
|
||||
'thumbnail' => $this->getThumbnail(),
|
||||
'body' => json_encode($this->getBody()),
|
||||
|
@ -15,7 +15,7 @@ class NewsletterBlank13Column {
|
||||
function get() {
|
||||
return array(
|
||||
'name' => __("Newsletter: Blank 1:3 Column", 'mailpoet'),
|
||||
'categories' => json_encode(array('standard', 'blank')),
|
||||
'categories' => json_encode(array('standard')),
|
||||
'readonly' => 1,
|
||||
'thumbnail' => $this->getThumbnail(),
|
||||
'body' => json_encode($this->getBody()),
|
||||
|
@ -15,7 +15,7 @@ class NewsletterBlank1Column {
|
||||
function get() {
|
||||
return array(
|
||||
'name' => __("Newsletter: Blank 1 Column", 'mailpoet'),
|
||||
'categories' => json_encode(array('standard', 'blank')),
|
||||
'categories' => json_encode(array('standard')),
|
||||
'readonly' => 1,
|
||||
'thumbnail' => $this->getThumbnail(),
|
||||
'body' => json_encode($this->getBody()),
|
||||
|
@ -15,7 +15,7 @@ class NotSoMedium {
|
||||
function get() {
|
||||
return array(
|
||||
'name' => __("One Full Post In An Email", 'mailpoet'),
|
||||
'categories' => json_encode(array('notification', 'sample')),
|
||||
'categories' => json_encode(array('notification', 'all')),
|
||||
'readonly' => 1,
|
||||
'thumbnail' => $this->getThumbnail(),
|
||||
'body' => json_encode($this->getBody()),
|
||||
|
@ -15,7 +15,7 @@ class Phone {
|
||||
function get() {
|
||||
return array(
|
||||
'name' => __("New Phone Purchase", 'mailpoet'),
|
||||
'categories' => json_encode(array('welcome', 'sample')),
|
||||
'categories' => json_encode(array('welcome', 'all')),
|
||||
'readonly' => 1,
|
||||
'thumbnail' => $this->getThumbnail(),
|
||||
'body' => json_encode($this->getBody()),
|
||||
|
@ -15,7 +15,7 @@ class PieceOfCake {
|
||||
function get() {
|
||||
return array(
|
||||
'name' => __("Piece of cake", 'mailpoet'),
|
||||
'categories' => json_encode(array('standard', 'sample')),
|
||||
'categories' => json_encode(array('standard', 'all')),
|
||||
'readonly' => 1,
|
||||
'thumbnail' => $this->getThumbnail(),
|
||||
'body' => json_encode($this->getBody()),
|
||||
|
@ -15,7 +15,7 @@ class PostNotificationsBlank1Column {
|
||||
function get() {
|
||||
return array(
|
||||
'name' => __("Post Notifications: Blank 1 Column", 'mailpoet'),
|
||||
'categories' => json_encode(array('notification', 'blank')),
|
||||
'categories' => json_encode(array('notification')),
|
||||
'readonly' => 1,
|
||||
'thumbnail' => $this->getThumbnail(),
|
||||
'body' => json_encode($this->getBody()),
|
||||
|
@ -16,7 +16,7 @@ class RealEstate {
|
||||
function get() {
|
||||
return array(
|
||||
'name' => __("Real Estate", 'mailpoet'),
|
||||
'categories' => json_encode(['welcome', 'sample']),
|
||||
'categories' => json_encode(['welcome', 'all']),
|
||||
'readonly' => 1,
|
||||
'thumbnail' => $this->getThumbnail(),
|
||||
'body' => json_encode($this->getBody()),
|
||||
|
@ -15,7 +15,7 @@ class Retro {
|
||||
function get() {
|
||||
return array(
|
||||
'name' => __("Retro", 'mailpoet'),
|
||||
'categories' => json_encode(array('standard', 'sample')),
|
||||
'categories' => json_encode(array('standard', 'all')),
|
||||
'readonly' => 1,
|
||||
'thumbnail' => $this->getThumbnail(),
|
||||
'body' => json_encode($this->getBody()),
|
||||
|
@ -15,7 +15,7 @@ class RetroComputingMagazine {
|
||||
function get() {
|
||||
return array(
|
||||
'name' => __("Retro Computing Magazine", 'mailpoet'),
|
||||
'categories' => json_encode(array('standard', 'sample')),
|
||||
'categories' => json_encode(array('standard', 'all')),
|
||||
'readonly' => 1,
|
||||
'thumbnail' => $this->getThumbnail(),
|
||||
'body' => json_encode($this->getBody()),
|
||||
|
@ -15,7 +15,7 @@ class RssSimpleNews {
|
||||
function get() {
|
||||
return array(
|
||||
'name' => __("Stripped RSS Style Layout", 'mailpoet'),
|
||||
'categories' => json_encode(array('notification', 'sample')),
|
||||
'categories' => json_encode(array('notification', 'all')),
|
||||
'readonly' => 1,
|
||||
'thumbnail' => $this->getThumbnail(),
|
||||
'body' => json_encode($this->getBody()),
|
||||
|
@ -15,7 +15,7 @@ class ScienceWeekly {
|
||||
function get() {
|
||||
return array(
|
||||
'name' => __("Science Weekly", 'mailpoet'),
|
||||
'categories' => json_encode(array('notification', 'sample')),
|
||||
'categories' => json_encode(array('notification', 'all')),
|
||||
'readonly' => 1,
|
||||
'thumbnail' => $this->getThumbnail(),
|
||||
'body' => json_encode($this->getBody()),
|
||||
|
@ -15,7 +15,7 @@ class Shoes {
|
||||
function get() {
|
||||
return array(
|
||||
'name' => __("Shoes", 'mailpoet'),
|
||||
'categories' => json_encode(array('standard', 'sample')),
|
||||
'categories' => json_encode(array('standard', 'all')),
|
||||
'readonly' => 1,
|
||||
'thumbnail' => $this->getThumbnail(),
|
||||
'body' => json_encode($this->getBody()),
|
||||
|
@ -15,7 +15,7 @@ class SimpleText {
|
||||
function get() {
|
||||
return array(
|
||||
'name' => __("Simple Text", 'mailpoet'),
|
||||
'categories' => json_encode(array('standard', 'sample')),
|
||||
'categories' => json_encode(array('standard', 'all')),
|
||||
'readonly' => 1,
|
||||
'thumbnail' => $this->getThumbnail(),
|
||||
'body' => json_encode($this->getBody()),
|
||||
|
@ -16,7 +16,7 @@ class Sunglasses {
|
||||
function get() {
|
||||
return array(
|
||||
'name' => __("Sunglasses", 'mailpoet'),
|
||||
'categories' => json_encode(array('welcome', 'sample')),
|
||||
'categories' => json_encode(array('welcome', 'all')),
|
||||
'readonly' => 1,
|
||||
'thumbnail' => $this->getThumbnail(),
|
||||
'body' => json_encode($this->getBody()),
|
||||
|
@ -15,7 +15,7 @@ class TakeAHike {
|
||||
function get() {
|
||||
return array(
|
||||
'name' => __("Take a Hike", 'mailpoet'),
|
||||
'categories' => json_encode(array('standard', 'sample')),
|
||||
'categories' => json_encode(array('standard', 'all')),
|
||||
'readonly' => 1,
|
||||
'thumbnail' => $this->getThumbnail(),
|
||||
'body' => json_encode($this->getBody()),
|
||||
|
@ -15,7 +15,7 @@ class WelcomeBlank12Column {
|
||||
function get() {
|
||||
return array(
|
||||
'name' => __("Welcome Email: Blank 1:2 Column", 'mailpoet'),
|
||||
'categories' => json_encode(array('welcome', 'blank')),
|
||||
'categories' => json_encode(array('welcome')),
|
||||
'readonly' => 1,
|
||||
'thumbnail' => $this->getThumbnail(),
|
||||
'body' => json_encode($this->getBody()),
|
||||
|
@ -15,7 +15,7 @@ class WelcomeBlank1Column {
|
||||
function get() {
|
||||
return array(
|
||||
'name' => __("Welcome Email: Blank 1 Column", 'mailpoet'),
|
||||
'categories' => json_encode(array('welcome', 'blank')),
|
||||
'categories' => json_encode(array('welcome')),
|
||||
'readonly' => 1,
|
||||
'thumbnail' => $this->getThumbnail(),
|
||||
'body' => json_encode($this->getBody()),
|
||||
|
@ -15,7 +15,7 @@ class WideStoryLayout {
|
||||
function get() {
|
||||
return array(
|
||||
'name' => __("Wide Story Layout", 'mailpoet'),
|
||||
'categories' => json_encode(array('notification', 'sample')),
|
||||
'categories' => json_encode(array('notification', 'all')),
|
||||
'readonly' => 1,
|
||||
'thumbnail' => $this->getThumbnail(),
|
||||
'body' => json_encode($this->getBody()),
|
||||
|
@ -15,7 +15,7 @@ class WineCity {
|
||||
function get() {
|
||||
return array(
|
||||
'name' => __("Wine City", 'mailpoet'),
|
||||
'categories' => json_encode(array('woocommerce', 'sample')),
|
||||
'categories' => json_encode(array('woocommerce', 'all')),
|
||||
'readonly' => 1,
|
||||
'thumbnail' => $this->getThumbnail(),
|
||||
'body' => json_encode($this->getBody()),
|
||||
|
@ -15,7 +15,7 @@ class WorldCup {
|
||||
function get() {
|
||||
return array(
|
||||
'name' => __("World Cup", 'mailpoet'),
|
||||
'categories' => json_encode(array('standard', 'sample')),
|
||||
'categories' => json_encode(array('standard', 'all')),
|
||||
'readonly' => 1,
|
||||
'thumbnail' => $this->getThumbnail(),
|
||||
'body' => json_encode($this->getBody()),
|
||||
|
@ -15,7 +15,7 @@ class YogaStudio {
|
||||
function get() {
|
||||
return array(
|
||||
'name' => __("Yoga Studio", 'mailpoet'),
|
||||
'categories' => json_encode(array('standard', 'sample')),
|
||||
'categories' => json_encode(array('standard', 'all')),
|
||||
'readonly' => 1,
|
||||
'thumbnail' => $this->getThumbnail(),
|
||||
'body' => json_encode($this->getBody()),
|
||||
|
Reference in New Issue
Block a user