[PHP] UCP PM submission hook

These event requests have either been rejected by the community or have become redundant because of code changes or other events requests.
Post Reply
User avatar
EXreaction
Registered User
Posts: 1555
Joined: Sat Sep 10, 2005 2:15 am

[PHP] UCP PM submission hook

Post by EXreaction » Fri Aug 24, 2012 1:54 am

Identifer: core.ucp_pm_submit

Location: ucp_pm_compose.php
Before // Store message, sync counters

Parameters: Ideally, $pm_data, which is created after that line (but could be moved higher to be sent to the extension), $error, $submit, $preview, $refresh, $message_parser.

Explanation: Allows extensions to do things with PMs before they can be submitted (such as check for spam content).

User avatar
naderman
Product Manager
Product Manager
Posts: 1727
Joined: Sun Jan 11, 2004 2:11 am
Location: Karlsruhe, Germany
Contact:

Re: [PHP] UCP PM submission hook

Post by naderman » Sun Feb 15, 2015 12:46 am

Already covered by core.submit_pm_before

Post Reply