Developer Center

Hooks

Introduction

Hooks allow you to execute your code when events occur in WISECP. Getting StartedLearn how you can create hooks in WISECP. Defining PriorityPriorities allow you to define the order in which the hooks are executed. Hook IndexFull list of all available hooks

Getting Started

The following steps show how to create a hook function in WISECP. Create Your Hook File Hooks are in the files (or in core file of a module) under /coremio/hooks/ directory. Begin with creating a file named hello.php : touch ~/coremio/hooks/hello.php Add Yo...

Defining Priority

The priority determines the order in which the hooks should run when multiple hooks are saved for the same hook. The priority can be any valid integer value.

Index

Client ClientCreated ClientInformationModified PreClientDeleted ClientDeleted ClientChangePassword ClientBlocked ClientActivated ClientDetailsValidation ClientEmailVerificationCompleted ClientSMSVerificationCompleted Order OrderApproved OrderActivated ...

Do you have any questions?

Feel free to contact us
Contact Us
Copyright © 2024. All Rights Reserved.
Join Our Discord Channel
Top