Skip to content
Daniel Kvist edited this page Sep 1, 2013 · 3 revisions

Actions

Action: after_create_article

Called when an article has been inserted into the database.

Parameters
$id the id of the new row,
$params the params to the query
Usage
Plugin::add_action('after_create_article', '[plugin]_after_create_article', 10, 1);

function [plugin]_after_create_article([parameters]) {
  // do something
}

Action: after_create_challenge

Called when a challenge has been inserted into the database.

Parameters
$id the id of the new row,
$params the params to the query
Usage
Plugin::add_action('after_create_challenge', '[plugin]_after_create_challenge', 10, 1);

function [plugin]_after_create_challenge([parameters]) {
  // do something
}

Action: after_create_challenge_attempt

Called when a challenge attempt has been inserted into the database.

Parameters
$id the id of the new row,
$params the params to the query
Usage
Plugin::add_action('after_create_challenge_attempt', '[plugin]_after_create_challenge_attempt', 10, 1);

function [plugin]_after_create_challenge_attempt([parameters]) {
  // do something
}

Action: after_create_class

Called when a class has been inserted into the database.

Parameters
$id the id of the new row,
$params the params to the query
Usage
Plugin::add_action('after_create_class', '[plugin]_after_create_class', 10, 1);

function [plugin]_after_create_class([parameters]) {
  // do something
}

Action: after_create_class_challenge

Called when a class challenge has been inserted into the database.

Parameters
$id the id of the new row,
$params the params to the query
Usage
Plugin::add_action('after_create_class_challenge', '[plugin]_after_create_class_challenge', 10, 1);

function [plugin]_after_create_class_challenge([parameters]) {
  // do something
}

Action: after_create_user

Called when a user has been inserted into the database.

Parameters
$id the id of the new row,
$params the params to the query
Usage
Plugin::add_action('after_create_user', '[plugin]_after_create_user', 10, 1);

function [plugin]_after_create_user([parameters]) {
  // do something
}

Action: after_create_user_has_challenge_token

Called when a "user has challenge token"" has been inserted into the database."

Parameters
$id the id of the new row,
$params the params to the query
Usage
Plugin::add_action('after_create_user_has_challenge_token', '[plugin]_after_create_user_has_challenge_token', 10, 1);

function [plugin]_after_create_user_has_challenge_token([parameters]) {
  // do something
}

Action: after_delete_article

Called when an article has been deleted from the database.

Parameters
$params the params to the query
Usage
Plugin::add_action('after_delete_article', '[plugin]_after_delete_article', 10, 1);

function [plugin]_after_delete_article([parameters]) {
  // do something
}

Action: after_delete_challenge

Called when a challenge has been deleted from the database.

Parameters
$params the params to the query
Usage
Plugin::add_action('after_delete_challenge', '[plugin]_after_delete_challenge', 10, 1);

function [plugin]_after_delete_challenge([parameters]) {
  // do something
}

Action: after_delete_challenge_attempt

Called when a challenge attempt has been deleted from the database.

Parameters
$params the params to the query
Usage
Plugin::add_action('after_delete_challenge_attempt', '[plugin]_after_delete_challenge_attempt', 10, 1);

function [plugin]_after_delete_challenge_attempt([parameters]) {
  // do something
}

Action: after_delete_class

Called when a class has been deleted from the database.

Parameters
$params the params to the query
Usage
Plugin::add_action('after_delete_class', '[plugin]_after_delete_class', 10, 1);

function [plugin]_after_delete_class([parameters]) {
  // do something
}

Action: after_delete_class_challenge

Called when a class challenge has been deleted from the database.

Parameters
$params the params to the query
Usage
Plugin::add_action('after_delete_class_challenge', '[plugin]_after_delete_class_challenge', 10, 1);

function [plugin]_after_delete_class_challenge([parameters]) {
  // do something
}

Action: after_delete_class_membership

Called when a class membership has been deleted from the database.

Parameters
$params the params to the query
Usage
Plugin::add_action('after_delete_class_membership', '[plugin]_after_delete_class_membership', 10, 1);

function [plugin]_after_delete_class_membership([parameters]) {
  // do something
}

Action: after_delete_user

Called when a user has been deleted from the database.

Parameters
$params the params to the query
Usage
Plugin::add_action('after_delete_user', '[plugin]_after_delete_user', 10, 1);

function [plugin]_after_delete_user([parameters]) {
  // do something
}

Action: after_read_article

Called when a article has been read from the database.

Parameters
$params the params to the query
Usage
Plugin::add_action('after_read_article', '[plugin]_after_read_article', 10, 1);

function [plugin]_after_read_article([parameters]) {
  // do something
}

Action: after_read_challenge

Called when a challenge has been read from the database.

Parameters
$params the params to the query
Usage
Plugin::add_action('after_read_challenge', '[plugin]_after_read_challenge', 10, 1);

function [plugin]_after_read_challenge([parameters]) {
  // do something
}

Action: after_read_challenge_attempt

Called when a challenge attempt has been read from the database.

Parameters
$params the params to the query
Usage
Plugin::add_action('after_read_challenge_attempt', '[plugin]_after_read_challenge_attempt', 10, 1);

function [plugin]_after_read_challenge_attempt([parameters]) {
  // do something
}

Action: after_read_class

Called when a class has been read from the database.

Parameters
$params the params to the query
Usage
Plugin::add_action('after_read_class', '[plugin]_after_read_class', 10, 1);

function [plugin]_after_read_class([parameters]) {
  // do something
}

Action: after_read_class_challenge

Called when a class challenge has been read from the database.

Parameters
$params the params to the query
Usage
Plugin::add_action('after_read_class_challenge', '[plugin]_after_read_class_challenge', 10, 1);

function [plugin]_after_read_class_challenge([parameters]) {
  // do something
}

Action: after_read_class_membership

Called when a class membership has been read from the database.

Parameters
$params the params to the query
Usage
Plugin::add_action('after_read_class_membership', '[plugin]_after_read_class_membership', 10, 1);

function [plugin]_after_read_class_membership([parameters]) {
  // do something
}

Action: after_read_user

Called when a user has been read from the database.

Parameters
$params the params to the query
Usage
Plugin::add_action('after_read_user', '[plugin]_after_read_user', 10, 1);

function [plugin]_after_read_user([parameters]) {
  // do something
}

Action: after_read_user_challenge

Called when a user challenge has been read from the database.

Parameters
$params the params to the query
Usage
Plugin::add_action('after_read_user_challenge', '[plugin]_after_read_user_challenge', 10, 1);

function [plugin]_after_read_user_challenge([parameters]) {
  // do something
}

Action: after_read_user_has_challenge_token

Called when a "user has challenge token"" has been read from the database."

Parameters
$params the params to the query
Usage
Plugin::add_action('after_read_user_has_challenge_token', '[plugin]_after_read_user_has_challenge_token', 10, 1);

function [plugin]_after_read_user_has_challenge_token([parameters]) {
  // do something
}

Action: after_update_article

Called when an article has been updated in the database.

Parameters
$params the params to the query
Usage
Plugin::add_action('after_update_article', '[plugin]_after_update_article', 10, 1);

function [plugin]_after_update_article([parameters]) {
  // do something
}

Action: after_update_challenge

Called when a challenge has been updated in the database.

Parameters
$params the params to the query
Usage
Plugin::add_action('after_update_challenge', '[plugin]_after_update_challenge', 10, 1);

function [plugin]_after_update_challenge([parameters]) {
  // do something
}

Action: after_update_class

Called when a class has been updated in the database.

Parameters
$params the params to the query
Usage
Plugin::add_action('after_update_class', '[plugin]_after_update_class', 10, 1);

function [plugin]_after_update_class([parameters]) {
  // do something
}

Action: after_update_class_challenge

Called when a class challenge has been updated in the database.

Parameters
$params the params to the query
Usage
Plugin::add_action('after_update_class_challenge', '[plugin]_after_update_class_challenge', 10, 1);

function [plugin]_after_update_class_challenge([parameters]) {
  // do something
}

Action: after_update_user

Called when a user has been updated in the database.

Parameters
$params the params to the query
Usage
Plugin::add_action('after_update_user', '[plugin]_after_update_user', 10, 1);

function [plugin]_after_update_user([parameters]) {
  // do something
}

Action: after_update_user_has_challenge_token

Called when a "user has challenge token"" has been updated in the database."

Parameters
$params the params to the query
Usage
Plugin::add_action('after_update_user_has_challenge_token', '[plugin]_after_update_user_has_challenge_token', 10, 1);

function [plugin]_after_update_user_has_challenge_token([parameters]) {
  // do something
}

Action: before_create_article

Called when an article is about to be inserted into the database.

Parameters
$sql the base sql query,
$params the params to the query
Usage
Plugin::add_action('before_create_article', '[plugin]_before_create_article', 10, 1);

function [plugin]_before_create_article([parameters]) {
  // do something
}

Action: before_create_challenge

Called when a challenge is about to be inserted into the database.

Parameters
$sql the base sql query,
$params the params to the query
Usage
Plugin::add_action('before_create_challenge', '[plugin]_before_create_challenge', 10, 1);

function [plugin]_before_create_challenge([parameters]) {
  // do something
}

Action: before_create_challenge_attempt

Called when a challenge attempt is about to be inserted into the database.

Parameters
$sql the base sql query,
$params the params to the query
Usage
Plugin::add_action('before_create_challenge_attempt', '[plugin]_before_create_challenge_attempt', 10, 1);

function [plugin]_before_create_challenge_attempt([parameters]) {
  // do something
}

Action: before_create_class

Called when a class is about to be inserted into the database.

Parameters
$sql the base sql query,
$params the params to the query
Usage
Plugin::add_action('before_create_class', '[plugin]_before_create_class', 10, 1);

function [plugin]_before_create_class([parameters]) {
  // do something
}

Action: before_create_class_challenge

Called when a class challenge is about to be inserted into the database.

Parameters
$sql the base sql query,
$params the params to the query
Usage
Plugin::add_action('before_create_class_challenge', '[plugin]_before_create_class_challenge', 10, 1);

function [plugin]_before_create_class_challenge([parameters]) {
  // do something
}

Action: before_create_user

Called when a user is about to be inserted into the database.

Parameters
$sql the base sql query,
$params the params to the query
Usage
Plugin::add_action('before_create_user', '[plugin]_before_create_user', 10, 1);

function [plugin]_before_create_user([parameters]) {
  // do something
}

Action: before_create_user_has_challenge_token

Called when a "user has challenge token"" is about to be inserted into the database."

Parameters
$sql the base sql query,
$params the params to the query
Usage
Plugin::add_action('before_create_user_has_challenge_token', '[plugin]_before_create_user_has_challenge_token', 10, 1);

function [plugin]_before_create_user_has_challenge_token([parameters]) {
  // do something
}

Action: before_delete_article

Called when an article is about to be deleted from the database.

Parameters
$sql the base sql query,
$params the params to the query
Usage
Plugin::add_action('before_delete_article', '[plugin]_before_delete_article', 10, 1);

function [plugin]_before_delete_article([parameters]) {
  // do something
}

Action: before_delete_challenge

Called when a challenge is about to be deleted from the database.

Parameters
$sql the base sql query,
$params the params to the query
Usage
Plugin::add_action('before_delete_challenge', '[plugin]_before_delete_challenge', 10, 1);

function [plugin]_before_delete_challenge([parameters]) {
  // do something
}

Action: before_delete_challenge_attempt

Called when a challenge attempt is about to be deleted from the database.

Parameters
$sql the base sql query,
$params the params to the query
Usage
Plugin::add_action('before_delete_challenge_attempt', '[plugin]_before_delete_challenge_attempt', 10, 1);

function [plugin]_before_delete_challenge_attempt([parameters]) {
  // do something
}

Action: before_delete_class

Called when a class is about to be deleted from the database.

Parameters
$sql the base sql query,
$params the params to the query
Usage
Plugin::add_action('before_delete_class', '[plugin]_before_delete_class', 10, 1);

function [plugin]_before_delete_class([parameters]) {
  // do something
}

Action: before_delete_class_challenge

Called when a class challenge is about to be deleted from the database.

Parameters
$sql the base sql query,
$params the params to the query
Usage
Plugin::add_action('before_delete_class_challenge', '[plugin]_before_delete_class_challenge', 10, 1);

function [plugin]_before_delete_class_challenge([parameters]) {
  // do something
}

Action: before_delete_class_membership

Called when a class membership is about to be deleted from the database.

Parameters
$sql the base sql query,
$params the params to the query
Usage
Plugin::add_action('before_delete_class_membership', '[plugin]_before_delete_class_membership', 10, 1);

function [plugin]_before_delete_class_membership([parameters]) {
  // do something
}

Action: before_delete_user

Called when a user is about to be deleted from the database.

Parameters
$sql the base sql query,
$params the params to the query
Usage
Plugin::add_action('before_delete_user', '[plugin]_before_delete_user', 10, 1);

function [plugin]_before_delete_user([parameters]) {
  // do something
}

Action: before_read_article

Called when a article is about to be read from the database.

Parameters
$sql the base sql query,
$params the params to the query
Usage
Plugin::add_action('before_read_article', '[plugin]_before_read_article', 10, 1);

function [plugin]_before_read_article([parameters]) {
  // do something
}

Action: before_read_challenge

Called when a challenge is about to be read from the database.

Parameters
$sql the base sql query,
$params the params to the query
Usage
Plugin::add_action('before_read_challenge', '[plugin]_before_read_challenge', 10, 1);

function [plugin]_before_read_challenge([parameters]) {
  // do something
}

Action: before_read_challenge_attempt

Called when a challenge attempt is about to be read from the database.

Parameters
$sql the base sql query,
$params the params to the query
Usage
Plugin::add_action('before_read_challenge_attempt', '[plugin]_before_read_challenge_attempt', 10, 1);

function [plugin]_before_read_challenge_attempt([parameters]) {
  // do something
}

Action: before_read_class

Called when a class is about to be read from the database.

Parameters
$sql the base sql query,
$params the params to the query
Usage
Plugin::add_action('before_read_class', '[plugin]_before_read_class', 10, 1);

function [plugin]_before_read_class([parameters]) {
  // do something
}

Action: before_read_class_challenge

Called when a class challenge is about to be read from the database.

Parameters
$sql the base sql query,
$params the params to the query
Usage
Plugin::add_action('before_read_class_challenge', '[plugin]_before_read_class_challenge', 10, 1);

function [plugin]_before_read_class_challenge([parameters]) {
  // do something
}

Action: before_read_class_membership

Called when a class membership is about to be read from the database.

Parameters
$sql the base sql query,
$params the params to the query
Usage
Plugin::add_action('before_read_class_membership', '[plugin]_before_read_class_membership', 10, 1);

function [plugin]_before_read_class_membership([parameters]) {
  // do something
}

Action: before_read_user

Called when a user is about to be read from the database.

Parameters
$sql the base sql query,
$params the params to the query
Usage
Plugin::add_action('before_read_user', '[plugin]_before_read_user', 10, 1);

function [plugin]_before_read_user([parameters]) {
  // do something
}

Action: before_read_user_challenge

Called when a user challenge is about to be read from the database.

Parameters
$sql the base sql query,
$params the params to the query
Usage
Plugin::add_action('before_read_user_challenge', '[plugin]_before_read_user_challenge', 10, 1);

function [plugin]_before_read_user_challenge([parameters]) {
  // do something
}

Action: before_read_user_has_challenge_token

Called when a "user has challenge token"" is about to be read from the database."

Parameters
$sql the base sql query,
$params the params to the query
Usage
Plugin::add_action('before_read_user_has_challenge_token', '[plugin]_before_read_user_has_challenge_token', 10, 1);

function [plugin]_before_read_user_has_challenge_token([parameters]) {
  // do something
}

Action: before_update_article

Called when an article is about to be updated in the database.

Parameters
$sql the base sql query,
$params the params to the query
Usage
Plugin::add_action('before_update_article', '[plugin]_before_update_article', 10, 1);

function [plugin]_before_update_article([parameters]) {
  // do something
}

Action: before_update_challenge

Called when a challenge is about to be updated in the database.

Parameters
$sql the base sql query,
$params the params to the query
Usage
Plugin::add_action('before_update_challenge', '[plugin]_before_update_challenge', 10, 1);

function [plugin]_before_update_challenge([parameters]) {
  // do something
}

Action: before_update_class

Called when a class is about to be updated in the database.

Parameters
$sql the base sql query,
$params the params to the query
Usage
Plugin::add_action('before_update_class', '[plugin]_before_update_class', 10, 1);

function [plugin]_before_update_class([parameters]) {
  // do something
}

Action: before_update_class_challenge

Called when a class challenge is about to be updated in the database.

Parameters
$sql the base sql query,
$params the params to the query
Usage
Plugin::add_action('before_update_class_challenge', '[plugin]_before_update_class_challenge', 10, 1);

function [plugin]_before_update_class_challenge([parameters]) {
  // do something
}

Action: before_update_user

Called when a user is about to be updated in the database.

Parameters
$sql the base sql query,
$params the params to the query
Usage
Plugin::add_action('before_update_user', '[plugin]_before_update_user', 10, 1);

function [plugin]_before_update_user([parameters]) {
  // do something
}

Action: before_update_user_has_challenge_token

Called when a "user has challenge token"" is about to be updated in the database."

Parameters
$sql the base sql query,
$params the params to the query
Usage
Plugin::add_action('before_update_user_has_challenge_token', '[plugin]_before_update_user_has_challenge_token', 10, 1);

function [plugin]_before_update_user_has_challenge_token([parameters]) {
  // do something
}

Action: disable_plugin

Called for each plugin that is disabled

Parameters
$plugin the name and path to the plugin file
Usage
Plugin::add_action('disable_plugin', '[plugin]_disable_plugin', 10, 1);

function [plugin]_disable_plugin([parameters]) {
  // do something
}

Action: disable_user_theme

Called when a user theme has been disabled

Parameters
$theme the name and path of the theme
Usage
Plugin::add_action('disable_user_theme', '[plugin]_disable_user_theme', 10, 1);

function [plugin]_disable_user_theme([parameters]) {
  // do something
}

Action: enable_plugin

Called for each plugin that is enabled

Parameters
$plugin the name and path to the plugin file
Usage
Plugin::add_action('enable_plugin', '[plugin]_enable_plugin', 10, 1);

function [plugin]_enable_plugin([parameters]) {
  // do something
}

Action: enable_user_theme

Called when a user theme has been enabled

Parameters
$theme the name and path of the theme
Usage
Plugin::add_action('enable_user_theme', '[plugin]_enable_user_theme', 10, 1);

function [plugin]_enable_user_theme([parameters]) {
  // do something
}

Action: generate_view

Called when a page is about to be passed to Smarty for presentation.

Parameters
$smarty the smarty object
Usage
Plugin::add_action('generate_view', '[plugin]_generate_view', 10, 1);

function [plugin]_generate_view([parameters]) {
  // do something
}

Action: show_add_article

Called when the add article page is about to be displayed

Parameters
$smarty the smarty object
Usage
Plugin::add_action('show_add_article', '[plugin]_show_add_article', 10, 1);

function [plugin]_show_add_article([parameters]) {
  // do something
}

Action: show_add_challenge

Called when the add challenge page is about to be displayed

Parameters
$smarty the smarty object
Usage
Plugin::add_action('show_add_challenge', '[plugin]_show_add_challenge', 10, 1);

function [plugin]_show_add_challenge([parameters]) {
  // do something
}

Action: show_add_class

Called when the add class page is about to be displayed

Parameters
$smarty the smarty object
Usage
Plugin::add_action('show_add_class', '[plugin]_show_add_class', 10, 1);

function [plugin]_show_add_class([parameters]) {
  // do something
}

Action: show_add_user

Called when the add user page is about to be displayed

Parameters
$smarty the smarty object
Usage
Plugin::add_action('show_add_user', '[plugin]_show_add_user', 10, 1);

function [plugin]_show_add_user([parameters]) {
  // do something
}

Action: show_admin_login

Called when the admin login page is to be displayed.

Parameters
$smarty the smarty object
Usage
Plugin::add_action('show_admin_login', '[plugin]_show_admin_login', 10, 1);

function [plugin]_show_admin_login([parameters]) {
  // do something
}

Action: show_article_manager

Called when the article manager is about to be displayed.

Parameters
$smarty the smarty object
Usage
Plugin::add_action('show_article_manager', '[plugin]_show_article_manager', 10, 1);

function [plugin]_show_article_manager([parameters]) {
  // do something
}

Action: show_challenge_list

Called when the challenge list is about to be displayed.

Parameters
$smarty the smarty object
Usage
Plugin::add_action('show_challenge_list', '[plugin]_show_challenge_list', 10, 1);

function [plugin]_show_challenge_list([parameters]) {
  // do something
}

Action: show_challenge_manager

Called when the challenge manager is about to be displayed.

Parameters
$smarty the smarty object
Usage
Plugin::add_action('show_challenge_manager', '[plugin]_show_challenge_manager', 10, 1);

function [plugin]_show_challenge_manager([parameters]) {
  // do something
}

Action: show_class_challenges

Called when the class challenges is about to be displayed.

Parameters
$smarty the smarty object
Usage
Plugin::add_action('show_class_challenges', '[plugin]_show_class_challenges', 10, 1);

function [plugin]_show_class_challenges([parameters]) {
  // do something
}

Action: show_class_manager

Called when the class manager is about to be displayed.

Parameters
$smarty the smarty object
Usage
Plugin::add_action('show_class_manager', '[plugin]_show_class_manager', 10, 1);

function [plugin]_show_class_manager([parameters]) {
  // do something
}

Action: show_class_memberships

Called when the class memberships is about to be displayed.

Parameters
$smarty the smarty object
Usage
Plugin::add_action('show_class_memberships', '[plugin]_show_class_memberships', 10, 1);

function [plugin]_show_class_memberships([parameters]) {
  // do something
}

Action: show_dashboard

Called when the dashboard is about to be displayed.

Parameters
$smarty the smarty object
Usage
Plugin::add_action('show_dashboard', '[plugin]_show_dashboard', 10, 1);

function [plugin]_show_dashboard([parameters]) {
  // do something
}

Action: show_edit_article

Called when the edit article page is about to be displayed.

Parameters
$smarty the smarty object
Usage
Plugin::add_action('show_edit_article', '[plugin]_show_edit_article', 10, 1);

function [plugin]_show_edit_article([parameters]) {
  // do something
}

Action: show_edit_challenge

Called when the edit challenge page is about to be displayed.

Parameters
$smarty the smarty object
Usage
Plugin::add_action('show_edit_challenge', '[plugin]_show_edit_challenge', 10, 1);

function [plugin]_show_edit_challenge([parameters]) {
  // do something
}

Action: show_edit_code

Called when the edit code page is about to be displayed.

Parameters
$smarty the smarty object
Usage
Plugin::add_action('show_edit_code', '[plugin]_show_edit_code', 10, 1);

function [plugin]_show_edit_code([parameters]) {
  // do something
}

Action: show_edit_user

Called when the edit user page is about to be displayed.

Parameters
$smarty the smarty object
Usage
Plugin::add_action('show_edit_user', '[plugin]_show_edit_user', 10, 1);

function [plugin]_show_edit_user([parameters]) {
  // do something
}

Action: show_forgot_password

Called when the forgot password page is to be displayed.

Parameters
$smarty the smarty object
Usage
Plugin::add_action('show_forgot_password', '[plugin]_show_forgot_password', 10, 1);

function [plugin]_show_forgot_password([parameters]) {
  // do something
}

Action: show_landing_page

Called when the landing page is to be displayed.

Parameters
$smarty the smarty object
Usage
Plugin::add_action('show_landing_page', '[plugin]_show_landing_page', 10, 1);

function [plugin]_show_landing_page([parameters]) {
  // do something
}

Action: show_login

Called when the login page is to be displayed.

Parameters
$smarty the smarty object
Usage
Plugin::add_action('show_login', '[plugin]_show_login', 10, 1);

function [plugin]_show_login([parameters]) {
  // do something
}

Action: show_main_login

Called when the main login page is to be displayed.

Parameters
$smarty the smarty object
Usage
Plugin::add_action('show_main_login', '[plugin]_show_main_login', 10, 1);

function [plugin]_show_main_login([parameters]) {
  // do something
}

Action: show_progress_report

Called when the progress report page is to be displayed.

Parameters
$smarty the smarty object
Usage
Plugin::add_action('show_progress_report', '[plugin]_show_progress_report', 10, 1);

function [plugin]_show_progress_report([parameters]) {
  // do something
}

Action: show_rankings

Called when the rankings page is to be displayed.

Parameters
$smarty the smarty object
Usage
Plugin::add_action('show_rankings', '[plugin]_show_rankings', 10, 1);

function [plugin]_show_rankings([parameters]) {
  // do something
}

Action: show_read_article

Called when an article page is to be displayed.

Parameters
$smarty the smarty object
Usage
Plugin::add_action('show_read_article', '[plugin]_show_read_article', 10, 1);

function [plugin]_show_read_article([parameters]) {
  // do something
}

Action: show_register_user

Called when the register user page is to be displayed.

Parameters
$smarty the smarty object
Usage
Plugin::add_action('show_register_user', '[plugin]_show_register_user', 10, 1);

function [plugin]_show_register_user([parameters]) {
  // do something
}

Action: show_reset_password

Called when the reset password page is to be displayed.

Parameters
$smarty the smarty object
Usage
Plugin::add_action('show_reset_password', '[plugin]_show_reset_password', 10, 1);

function [plugin]_show_reset_password([parameters]) {
  // do something
}

Action: show_show_challenge

Called when the show challenge page is to be displayed.

Parameters
$smarty the smarty object
Usage
Plugin::add_action('show_show_challenge', '[plugin]_show_show_challenge', 10, 1);

function [plugin]_show_show_challenge([parameters]) {
  // do something
}

Action: show_show_class

Called when the show class page is to be displayed.

Parameters
$smarty the smarty object
Usage
Plugin::add_action('show_show_class', '[plugin]_show_show_class', 10, 1);

function [plugin]_show_show_class([parameters]) {
  // do something
}

Action: show_try_challenge

Called when the try challenge page is to be displayed.

Parameters
$smarty the smarty object
Usage
Plugin::add_action('show_try_challenge', '[plugin]_show_try_challenge', 10, 1);

function [plugin]_show_try_challenge([parameters]) {
  // do something
}

Action: show_user_manager

Called when the user manager page is to be displayed.

Parameters
$smarty the smarty object
Usage
Plugin::add_action('show_user_manager', '[plugin]_show_user_manager', 10, 1);

function [plugin]_show_user_manager([parameters]) {
  // do something
}

Overview
Clone this wiki locally