Create a "New Message Link"

Using the [private_message] shortcode you can create a "New Private Message" link anywhere on your site.

Parameters

To
The ID of the user to send a message to.

Subject
The prefilled subject line.

Message
The prefilled message.

Title
The title of the link that is created.

Example

[private_message to=1 subject="Hey there!" title="New Message"]