Low Variables Documentation

Extension Hooks

low_variables_post_save

mcp.low_variables.php, v2.1.0+ — Use this hook to perform extra processing after the values of the variables are saved, like clearing the cache. It doesn’t need to return anything. Afterwards, the user is redirected to the same page.


Arguments

  • $var_ids (array) — variable ids of the variables that were saved.
  • $skipped (array) — variable ids of the variables that were submitted but not saved.
  • $this->EE->extensions->call('low_variables_post_save', array_keys($vars), $skipped);

    low_varibles_delete

    mcp.low_variables.php, v2.3.0+ — Use this hook to perform extra processing just before variables are deleted.

    Arguments

  • $var_ids (array) — variable ids of the variables that are about to be deleted.
  • $this->EE->extensions->call('low_variables_delete', $var_ids);

    Support

    Having problems setting up and/or using Low Variables? Support is offered from 10am to 4pm EST weekdays. Send us an email at help@eeharbor.com and we will respond as quickly as we can.