Skip to content

List of hooks

robiso edited this page Jan 3, 2018 · 15 revisions

List of hooks/listeners

  • Used for attaching your functions to WonderCMS
 wCMS::addListener('page', 'yourFunctionName');
 wCMS::addListener('js', 'yourFunctionName');
 wCMS::addListener('css', 'yourFunctionName');
 wCMS::addListener('settings', 'yourFunctionName');
 wCMS::addListener('menu', 'yourFunctionName');
 wCMS::addListener('getMenuSettings', 'yourFunctionName');
 wCMS::addListener('footer', 'yourFunctionName');
Clone this wiki locally