Skip Navigation
Expand
Unable to create custom hooks for KA CP UI widgets via OOTB CP UI .../config/hooks.php file
Answer ID 12606   |   Last Review Date 04/10/2023

Can we create custom hooks for KA CP UI widgets via OOTB CP UI .../config/hooks.php file?

Environment:

Knowledge Advanced for Oracle B2C Service

Resolution:

The OOTB CP UI .../config/hooks.php facilitates the hooks extension for CX-side CP UI widget functionalities via PHP using the 'CallHook' libarary.  It is for CX-side CP UI widget functionalities only.  Ie, it does not provide custom hook for KA widget (for example 'okcs/DocumentRating') to extend functionalities via PHP using the 'CallHook' libarary.