MySLP_Email_Template_Utils
in package
Class MySLP_Email_Template_Utils
Table of Contents
Methods
- add_paragraphs() : mixed
- Add paragraphs WP style to content.
- display_editor_field() : mixed
- Display a WP Editor input
- display_input_field() : mixed
- Display a standard input
- display_template_tags() : mixed
- Display template tags text.
- save_and_get_settings() : array<string|int, mixed>|mixed|void
- Save and get form settings.
Methods
add_paragraphs()
Add paragraphs WP style to content.
public
add_paragraphs(mixed &$content) : mixed
Parameters
- $content : mixed
display_editor_field()
Display a WP Editor input
public
display_editor_field(mixed $current_tab, mixed $value_array, mixed $option_name, mixed $option_text[, mixed $option_desc = '' ]) : mixed
Parameters
- $current_tab : mixed
- $value_array : mixed
- $option_name : mixed
- $option_text : mixed
- $option_desc : mixed = ''
display_input_field()
Display a standard input
public
display_input_field(mixed $current_tab, mixed $value_array, mixed $option_name, mixed $option_text[, mixed $option_desc = '' ]) : mixed
Parameters
- $current_tab : mixed
- $value_array : mixed
- $option_name : mixed
- $option_text : mixed
- $option_desc : mixed = ''
display_template_tags()
Display template tags text.
public
display_template_tags() : mixed
save_and_get_settings()
Save and get form settings.
public
save_and_get_settings(mixed $current_tab[, mixed $default = array() ][, mixed $add_paragraphs_to = array() ]) : array<string|int, mixed>|mixed|void
Parameters
- $current_tab : mixed
- $default : mixed = array()
- $add_paragraphs_to : mixed = array()