1. Home
  2. Docs
  3. Plugin Documentation
  4. Hooks Reference

Hooks Reference

Action hook reference

StranoWeb Ajax Login has some action hooks that developers can use:

Popup Hooks

  • swal_login_form_before_input_fields – (action) Placed on SWAL login form before input fields;
  • swal_login_form_below_input_fields – (action) Placed on SWAL login form below input fields before login button;
  • swal_login_form_below_button – (action) Placed on SWAL login form below login button;
  • swal_login_form_text – (action) Placed on SWAL login form on text and image area after plugin text;
  • swal_register_form_text – (action) Placed on SWAL register form on text and image area after plugin text;
  • swal_forgotpassword_form_text – (action) Placed on SWAL forgot password form on text and image area after plugin text;

Other Hooks

  • before_swal_init – (action) On SWAL initialization class before any function;
  • swal_loaded – (action) On SWAL initialization class at the end of initialization functions;