includes/admin/core/packages/2.0-beta1email_templates.php

Functions

um_upgrade20beta1_template_in_theme()

um_upgrade20beta1_template_in_theme(string  $template_name, bool  $html = false) : string

Locate a template and return the path for inclusion.

Parameters

string $template_name
bool $html

Returns

string

um_upgrade20beta1_get_template_file()

um_upgrade20beta1_get_template_file(string  $location, string  $template_name, bool  $html = false) : string

Method returns expected path for template

Parameters

string $location
string $template_name
bool $html

Returns

string

um_upgrade20beta1_copy_email_template()

um_upgrade20beta1_copy_email_template(string  $template) : bool

Ajax copy template to the theme

Parameters

string $template

Returns

bool

um_upgrade20beta1_insert_content()

um_upgrade20beta1_insert_content(string  $path, string  $content) : mixed

Insert email template content to file

Parameters

string $path

Filepath

string $content

Email template content

Returns

mixed

um_upgrade20beta1_email_templates_process()

um_upgrade20beta1_email_templates_process() : mixed

Transferring email templates to new logic

Returns

mixed