mycred_userpro_stop_message

Description

This filter allows you to stop a private message from being sent and instead trigger the “Insufficient Funds” message. Used by the UserPro Private Messaging hook.

Available since version 1.1.3

Parameters

Param Type Required Description
$response bool Yes

Return TRUE to stop the message else FALSE.

$from int No

The numeric ID of the user sending the message.

$to int No

The numeric ID of the message recipient.

$hook obj No

The hook object.

$hook

obj

No

The hook object.

Used By

Package Prio. Description
Not used by any built-in package.

Examples

No example found.