Action: sensei_new_private_message

do_action( 'sensei_new_private_message', $message_id )

Fires when a new private message is sent.

Parameters:
Name Type Description
$message_id int

The message ID.

Since:
  • 1.8.0
Source: