Invitation
@php $template->content = str_replace( [ '{site_name}', '{site_url}', '{reset_url}', '{affiliate_url}', '{register_url}', '{user_name}', '{user_activation_url}', ], [ $settings->site_name, $settings->site_url, $settings->site_url . '/forgot-password/retrieve/' . ($user['password_reset_code'] ?? ''), $settings->site_url . '/register?aff=' . ($user['affiliate_code'] ?? ''), $settings->site_url . '/register?aff=' .( $user['affiliate_code'] ?? ''), data_get($user, 'name'), $settings->site_url.'/confirm/email/'.($user['email_confirmation_code'] ?? ''), ], $template->content ); @endphp {!!$template->content!!}