Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

octobercms mail register

public function registerMailPartials()
{
    return [
        'tracking'  => 'acme.blog::partials.tracking',
        'promotion' => 'acme.blog::partials.promotion',
    ];
}

public function registerMailLayouts()
{
    return [
        'marketing'    => 'acme.blog::layouts.marketing',
        'notification' => 'acme.blog::layouts.notification',
    ];
}
Source by octobercms.com #
 
PREVIOUS NEXT
Tagged: #octobercms #mail #register
ADD COMMENT
Topic
Name
9+6 =