Email::get_default_template( string $event )
Description #
Return default template for an event.
Parameters #
- $eventstring (Required) Event name.
Source #
File: addons/email/email.php
public 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/email/email.php:849
Add your comment