AnsPress_Email_Hooks::get_default_template( string $event )
Description #
Return default template for an event.
Parameters #
- $eventstring (Required) Event name.
Source #
File: addons/free/email.php
public static function get_default_template( $event ) { $template = array( 'subject' => '', 'body' => '', ); /** * Used for registering a default email template for an event. * * @param array $template Template. * @since 4.1.0 */ return apply_filters( "ap_email_default_template_{$event}", $template ); }
Expand full source code Collapse full source code View on GitHub: addons/free/email.php:752
Add your comment