Developer Center

EN

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. Module HooksLearn how modules can take adva...

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?

We have a great team to answer your queries
Contact Us
Copyright © 2020. All rights reserved.
Join Our Discord Channel
Top