Hooks allow you to insert new events into the core processes without needing to edit core files.

The full list of available hooks where $.fn.blockstrap.core.apply_actions is used include:

An example of how to add an action to init can be seen below:

var important_info = 'something-needed-later';
    'init', // the hook to use
    'example_action', // a unique identifier
    'theme', // the module to use
    'example', // the function in module to use
    important_info // information needed later?

More information is available regarding $.fn.blockstrap.core.add_action.

  1. Related Articles
  2. Return to Extending
  3. Themes
  4. Buttons
  5. Filters
  6. Hooks
  7. Table of Contents