Members::get_default_invitation_message()

Returns the default message for an invitation email, including placeholders.

Description

See also

Return

(string) Invitation email message.

Source

File: src/modules/access-controls/members.php

	protected function get_default_invitation_message() {
		/* translators: %s: user display name */
		$message = sprintf( __( 'Dear %s,', 'torro-forms' ), '{userdisplayname}' ) . "\n\n";

		/* translators: %s: form title */
		$message .= sprintf( __( 'You have been invited to participate in the form “%s” which you can find at the following URL:', 'torro-forms' ), '{formtitle}' ) . "\n\n";
		$message .= '<a href="{formurl}">{formurl}</a>' . "\n\n";
		$message .= __( 'Thanks in advance for participating!', 'torro-forms' ) . "\n\n";
		$message .= '{sitetitle}';

		return $message;
	}

Changelog

Changelog
Version Description
1.0.0 Introduced.