Execute custom script on specific AcyMailing actions
This page lists the most commonly used code triggers used in custom add-ons for AcyMailing
Triggers/hooks on specific actions
Making a custom add-onWhen a user is created
public function onAcymBeforeUserCreate(&$user) {
// Your code here, $user is an object containing the AcyMailing user information
}
public function onAcymAfterUserCreate(&$user) {
// Your code here, $user is an object containing the AcyMailing user information
} When a user is modified
public function onAcymBeforeUserModify(&$user) {
// Your code here, $user is an object containing the AcyMailing user information
}
public function onAcymAfterUserModify(&$user) {
// Your code here, $user is an object containing the AcyMailing user information
} When users are removed
When the user is confirmed
When the user subscribes to a list
When the user unsubscribes from a list
When importing users
Last updated