There was an error while loading. Please reload this page.
Filter the email template file path.
/** * Filter the email template file path. * * @param string $template_file * @param string $template * @param int $user_id * @param array $args * @return string The filtered value. */ function my_activitypub_email_template_callback( string $template_file, string $template, int $user_id, array $args ) { // Your code here. return $template_file; } add_filter( 'activitypub_email_template', 'my_activitypub_email_template_callback', 10, 4 );
string
$template_file
$template
int
$user_id
array
$args
\apply_filters( 'activitypub_email_template', $template_file, $template, $user_id, $args )
← All Hooks