Hooks

A hook is a small piece of code that allows you to insert more code (plugin) in the middle of certain Osclass’ actions.

Usage of hooks

To use a hook add the following code to your plugin file :

osc_add_hook('hook_name', 'function_name', 'priority');

Substitute ‘hook_name’ by the name of the hook you want to attach ‘function_name’, and ‘function_name’ with the name of your function. ‘priority’ is number 1-10 that identifies priority/order to include/run function in hook.

If you want to run function at the end, use priority 10. If you want to run function at start, use priority 1.

Special hooks

There exists some special hooks

This is a hack to show a Configure link at plugins table (you could also use some other hook to show a custom option panel);

osc_add_hook(__FILE__ . "_configure", 'function_name');

This is a hack to show a Uninstall link at plugins table (you could also use some other hook to show a custom option panel);

osc_add_hook(__FILE__ . "_uninstall", 'function_name');

Init hooks

admin_scripts_loaded / helpers/hTheme.php – Run after admin scripts are loaded in theme

before_init / core/BaseModel.php – Run before frontend init

init / core/BaseModel.php, functions.php, ... – Run after frontend has finished loading; useful for enqueueing scripts and styles

init_admin / core/AdminBaseModel.php, core/AdminSecBaseModel.php, ... – Run after admin has finished loading; useful for enqueueing scripts and styles

init_admin_insecure / core/AdminBaseModel.php – Run on insecure admin controller init

init_ajax / controller/ajax.php – Run on ajax controller init

init_contact / controller/contact.php – Run on contact controller init

init_custom / controller/custom.php – Run on custom controller init

init_item / controller/item.php – Run on item controller init

init_language / controller/language.php – Run on language switch controller init

init_login / controller/login.php – Run on login controller init

init_main / controller/main.php – Run on main controller init

init_page / controller/page.php – Run on static page controller init

init_register / controller/register.php – Run on register controller init

init_user / controller/user.php – Run on user controller init

init_user_non_secure / controller/user-non-secure.php – Run on public user controller init

scripts_loaded / helpers/hTheme.php – Run after frontend scripts are loaded in theme

Ajax hooks

ajax_my_hook / controller/ajax.php – Run when AJAX request sent from frontend. Example: function abc_my_func uses hook ajax_abc_my_func.

ajax_admin_my_hook / oc-admin/ajax/ajax.php – Run when AJAX request sent from admin.

Item hooks

activate_item / ItemActions.php – Run when item is activated; $id passed

before_item_edit / controller/item.php, oc-admin/items.php – Run before edit item page is loaded

deactivate_item / ItemActions.php – Run when item is deactivated; $id passed

delete_item / model/Item.php – When item is deleted; $id passed

disable_item / ItemActions.php – Run when item is disabled; $id passed

edited_item / ItemActions.php – Run when item is edited; $item passed

enable_item / ItemActions.php – Run when item is enabled; $id passed

item_bottom / oc-content/themes/item.php – Item page or item action hook

item_comment / oc-content/themes/item.php – Item page or item action hook

item_comment_form / oc-content/themes/item.php – Item page or item action hook

item_contact / oc-content/themes/item-sidebar.php – Item page or item action hook

item_contact_form / gui/item-sidebar.php, gui/user-public-sidebar.php, ... – Run at contact item publisher form

item_decrease_stat / ItemActions.php – When item view statistic is decreased

item_description_after / oc-content/themes/item.php – After item description on item page (theme hook)

item_detail / gui/item.php, oc-content/themes/item.php – Run in middle of item detail page; $item passed

item_edit / controller/ajax.php, functions.php, ... – Run at edit item form; $cat_id and $item_id passed

item_edit_after / controller/ajax.php, functions.php – Edit item form variant hook (Osclass 8.2+, via ajax runhook)

item_edit_bottom / controller/ajax.php, functions.php – Edit item form variant hook (Osclass 8.2+, via ajax runhook)

item_edit_buttons / controller/ajax.php, functions.php – Edit item form variant hook (Osclass 8.2+, via ajax runhook)

item_edit_category / controller/ajax.php, functions.php – Edit item form variant hook (Osclass 8.2+, via ajax runhook)

item_edit_description / controller/ajax.php, functions.php – Edit item form variant hook (Osclass 8.2+, via ajax runhook)

item_edit_hook / controller/ajax.php, functions.php – Edit item form variant hook (Osclass 8.2+, via ajax runhook)

item_edit_images / controller/ajax.php, functions.php – Edit item form variant hook (Osclass 8.2+, via ajax runhook)

item_edit_location / controller/ajax.php, functions.php – Edit item form variant hook (Osclass 8.2+, via ajax runhook)

item_edit_price / controller/ajax.php, functions.php – Edit item form variant hook (Osclass 8.2+, via ajax runhook)

item_edit_seller / controller/ajax.php, functions.php – Edit item form variant hook (Osclass 8.2+, via ajax runhook)

item_edit_top / controller/ajax.php, functions.php – Edit item form variant hook (Osclass 8.2+, via ajax runhook)

item_form / controller/ajax.php, functions.php, ... – Run at publish new item form; $catId passed

item_form_after / controller/ajax.php, functions.php – Publish item form variant hook (Osclass 8.2+, via ajax runhook)

item_form_bottom / controller/ajax.php, functions.php – Publish item form variant hook (Osclass 8.2+, via ajax runhook)

item_form_buttons / controller/ajax.php, functions.php – Publish item form variant hook (Osclass 8.2+, via ajax runhook)

item_form_category / controller/ajax.php, functions.php – Publish item form variant hook (Osclass 8.2+, via ajax runhook)

item_form_description / controller/ajax.php, functions.php – Publish item form variant hook (Osclass 8.2+, via ajax runhook)

item_form_hook / controller/ajax.php, functions.php – Publish item form variant hook (Osclass 8.2+, via ajax runhook)

item_form_images / controller/ajax.php, functions.php – Publish item form variant hook (Osclass 8.2+, via ajax runhook)

item_form_location / controller/ajax.php, functions.php – Publish item form variant hook (Osclass 8.2+, via ajax runhook)

item_form_new_validation_attributes / frm/Item.form.class.php – Publish item form variant hook (Osclass 8.2+, via ajax runhook)

item_form_new_validation_messages / frm/Item.form.class.php – Publish item form variant hook (Osclass 8.2+, via ajax runhook)

item_form_new_validation_rules / frm/Item.form.class.php – Publish item form variant hook (Osclass 8.2+, via ajax runhook)

item_form_new_validation_top / frm/Item.form.class.php – Publish item form variant hook (Osclass 8.2+, via ajax runhook)

item_form_price / controller/ajax.php, functions.php – Publish item form variant hook (Osclass 8.2+, via ajax runhook)

item_form_seller / controller/ajax.php, functions.php – Publish item form variant hook (Osclass 8.2+, via ajax runhook)

item_form_top / controller/ajax.php, functions.php – Publish item form variant hook (Osclass 8.2+, via ajax runhook)

item_form_validation_attributes / frm/Item.form.class.php – Publish item form variant hook (Osclass 8.2+, via ajax runhook)

item_form_validation_messages / frm/Item.form.class.php – Publish item form variant hook (Osclass 8.2+, via ajax runhook)

item_form_validation_rules / frm/Item.form.class.php – Publish item form variant hook (Osclass 8.2+, via ajax runhook)

item_form_validation_top / frm/Item.form.class.php – Publish item form variant hook (Osclass 8.2+, via ajax runhook)

item_images / oc-content/themes/item.php – Item page or item action hook

item_increase_stat / ItemActions.php – When item view statistic is increased

item_loop_bottom / oc-content/themes/loop-single-premium.php, oc-content/themes/loop-single.php – Item page or item action hook

item_loop_description / oc-content/themes/loop-single-premium.php, oc-content/themes/loop-single.php – After item description in listing loop (theme hook, Osclass 8.2+)

item_loop_title / oc-content/themes/loop-single-premium.php, oc-content/themes/loop-single.php – After item title in listing loop (theme hook, Osclass 8.2+)

item_loop_top / oc-content/themes/loop-single-premium.php, oc-content/themes/loop-single.php – Item page or item action hook

item_meta / oc-content/themes/item.php – Item page or item action hook

item_premium_off / ItemActions.php – When item is unmarked as premium

item_premium_on / ItemActions.php – When item is marked as premium

item_publish_after / functions.php, oc-content/themes/item-post.php – After publish item form (theme hook, Osclass 8.2+)

item_publish_bottom / functions.php, oc-content/themes/item-post.php – Publish item page theme hook (Osclass 8.2+)

item_publish_buttons / functions.php, oc-content/themes/item-post.php – Publish item page theme hook (Osclass 8.2+)

item_publish_category / functions.php, oc-content/themes/item-post.php – Publish item page theme hook (Osclass 8.2+)

item_publish_description / functions.php, oc-content/themes/item-post.php – Publish item page theme hook (Osclass 8.2+)

item_publish_hook / functions.php, oc-content/themes/item-post.php – Publish item page theme hook (Osclass 8.2+)

item_publish_images / functions.php, oc-content/themes/item-post.php – Publish item page theme hook (Osclass 8.2+)

item_publish_location / functions.php, oc-content/themes/item-post.php – Publish item page theme hook (Osclass 8.2+)

item_publish_price / functions.php, oc-content/themes/item-post.php – Publish item page theme hook (Osclass 8.2+)

item_publish_seller / functions.php, oc-content/themes/item-post.php – Publish item page theme hook (Osclass 8.2+)

item_publish_top / functions.php, oc-content/themes/item-post.php – Top of publish item form (theme hook, Osclass 8.2+)

item_sidebar_bottom / oc-content/themes/item-sidebar.php – Item page or item action hook

item_sidebar_top / oc-content/themes/item-sidebar.php – Item page or item action hook

item_sidebar_user / oc-content/themes/item-sidebar.php – Item page or item action hook

item_spam_off / ItemActions.php – When item is unmarked as spam

item_spam_on / ItemActions.php – When item is marked as spam

item_title / oc-content/themes/item.php – Item page or item action hook

item_top / oc-content/themes/item.php – Item page or item action hook

manage_item_search_conditions / classes/datatables/ItemsDataTable.php – Before admin items datatable search conditions are applied

post_item / controller/item.php, oc-admin/items.php – Run before publish new item page is loaded

post_item_contact_post / controller/item.php – After item contact form POST; $item passed

post_item_send_friend_post / controller/item.php – After send-to-friend form POST; $item passed

posted_item / ItemActions.php – Run when item is posted; $item passed

pre_item_add / ItemActions.php – Run before item is posted; $aItem and $flash_error passed

pre_item_add_comment_post / controller/item.php – Before add comment POST; $item passed

pre_item_contact_post / controller/item.php – Before item contact form POST; $item passed

pre_item_delete_comment_post / controller/item.php – Before delete comment POST; $item and $commentId passed

pre_item_edit / ItemActions.php – Run before item is edited; $aItem and $flash_error passed

pre_item_post / ItemActions.php – Run before item post/edit processing

pre_item_send_friend_post / controller/item.php – Before send-to-friend form POST; $item passed

renew_item / ItemActions.php – Run when item is renewed; $id passed

show_item / controller/item.php – Run at beginning of item detail page before header; $item passed

Resource hooks

delete_resource / utils.php – Run after resource is deleted; $resource passed

regenerate_image / oc-admin/ajax/ajax.php – Run before image is regenerated; $resource passed

regenerated_image / oc-admin/ajax/ajax.php – Run after image is regenerated; $resource passed

uploaded_file / ItemActions.php – Run after file is uploaded; $resource passed

Comment hooks

activate_comment / oc-admin/comments.php – When comment is activated; $id passed

add_comment / ItemActions.php, oc-admin/comments.php – When comment is added; $id passed

before_add_comment / ItemActions.php, oc-admin/comments.php – Before comment is saved

deactivate_comment / oc-admin/comments.php – When comment is deactivated; $id passed

delete_comment / oc-admin/comments.php – When comment is deleted; $id passed

disable_comment / oc-admin/comments.php – When comment is disabled; $id passed

edit_comment / oc-admin/comments.php – When comment edit is complete; $id passed

edit_comment_reply / oc-admin/comments.php – When reply comment edit is complete; parent $id passed (Osclass 8.0.3)

enable_comment / oc-admin/comments.php – When comment is enabled; $id passed

User hooks

activate_user / UserActions.php – After user is activated; $id passed

after_login / helpers/hDefines.php, oc-admin/users.php – Run when user is logged in; $user and $url_redirect passed

after_username_change / controller/user.php – After username change is completed

before_login / controller/login.php – Run before user login is created

before_login_admin / oc-admin/login.php – Before admin login is processed

before_user_delete / controller/user.php – Before user deletes own account

before_user_items / controller/user.php – Before user items page is loaded

before_user_register / controller/register.php – Run before user registration form is processed

before_username_change / controller/user.php – Before username change is processed

change_email_confirm / controller/user-non-secure.php – When user confirms email change request

deactivate_user / UserActions.php – After user is deactivated; $id passed

delete_user / model/User.php – Before user is removed; $id passed

disable_user / UserActions.php – After user is disabled; $id passed

enable_user / UserActions.php – After user is enabled; $id passed

login_admin / oc-admin/login.php – When admin logs in successfully

login_admin_form / oc-admin/gui/login.php, oc-admin/themes/omega/gui/login.php – Inside admin login form

logout / controller/main.php – Run when user logs out

logout_admin / oc-admin/main.php – Run when admin logs out

register_email_taken / UserActions.php – When register email already exists

user_edit_completed / UserActions.php – After user profile edit; $userId passed

user_forgot_password_form / oc-content/themes/user-forgot_password.php – Run inside forgot password form (Osclass 8.3+)

user_form / gui/user-profile.php, oc-admin/themes/omega/users/frm.php, ... – Run in user profile form

user_form_validation_attributes / frm/User.form.class.php – User page or user action hook

user_form_validation_messages / frm/User.form.class.php – User page or user action hook

user_form_validation_rules / frm/User.form.class.php – User page or user action hook

user_form_validation_top / frm/User.form.class.php – User page or user action hook

user_items_action / oc-content/themes/loop-single.php – User page or user action hook

user_items_body / oc-content/themes/loop-single.php – User page or user action hook

user_items_bottom / oc-content/themes/user-items.php – User page or user action hook

user_items_search_form_bottom / oc-content/themes/user-items.php – User page or user action hook

user_items_search_form_top / oc-content/themes/user-items.php – User page or user action hook

user_items_top / oc-content/themes/user-items.php – User page or user action hook

user_locale_changed / classes/Rewrite.php, controller/language.php, ... – When locale is changed; $locale_code passed

user_login_form / gui/user-login.php, oc-content/themes/user-login.php – Run in user login form

user_menu / helpers/hUtils.php – Run in user account menu

user_menu_after / helpers/hUtils.php – After user account menu (Osclass 8.3+)

user_menu_before / helpers/hUtils.php – Before user account menu (Osclass 8.3+)

user_menu_bottom / helpers/hUtils.php – Bottom of user account menu (Osclass 8.3+)

user_menu_top / helpers/hUtils.php – Top of user account menu (Osclass 8.3+)

user_pre_login_form / oc-content/themes/user-login.php – Run before login form fields

user_pre_register_form / oc-content/themes/user-register.php – Run before registration form fields

user_profile_form / gui/user-profile.php, oc-admin/themes/omega/users/frm.php, ... – Run before user profile update button

user_profile_sidebar / oc-content/themes/user-profile.php – User page or user action hook

user_profile_top / oc-content/themes/user-profile.php – User page or user action hook

user_public_profile_items_top / oc-content/themes/user-public-profile.php – User page or user action hook

user_public_profile_search_form_bottom / oc-content/themes/user-public-profile.php – User page or user action hook

user_public_profile_search_form_top / oc-content/themes/user-public-profile.php – User page or user action hook

user_public_profile_sidebar_bottom / oc-content/themes/user-public-profile.php – User page or user action hook

user_public_profile_sidebar_top / oc-content/themes/user-public-profile.php – User page or user action hook

user_recover_form / oc-content/themes/user-recover.php – Run inside recover password form (Osclass 8.3+)

user_register_completed / UserActions.php – After user registration; $userId passed

user_register_failed / UserActions.php – When user registration fails

user_register_form / gui/user-register.php, oc-admin/themes/omega/users/frm.php, ... – Run in user registration form

validate_user / controller/register.php – Run when user gets validated

Search hooks

after_search / controller/search.php – Run after search is processed

before_search / controller/search.php – Run before search request

custom_query / helpers/hItems.php – Run when custom query is processed; $key and $value passed

highlight_class / gui/loop-single-premium.php, gui/loop-single.php, ... – Run in item loop to add listing CSS class

search / controller/search.php – Run at search page; $search object passed

search_ads_listing_medium / gui/functions.php, gui/loop.php, ... – Search page hook

search_ads_listing_top / gui/functions.php, gui/search.php, ... – Search page hook

search_conditions / controller/search.php – Run when search is submitted; $params array passed

search_engine_after_params_set / controller/search.php – Search page hook

search_form / functions.php, gui/search-sidebar.php, ... – Run at search form; $catId passed

search_items_bottom / oc-content/themes/search.php – Search page hook

search_items_filter / oc-content/themes/search.php – Search page hook

search_items_top / oc-content/themes/search.php – Search page hook

search_make_sql / model/Search.php – Search page hook

search_make_sql_premium / model/Search.php – Search page hook

search_sidebar_after / oc-content/themes/search-sidebar.php – Search page hook

search_sidebar_bottom / oc-content/themes/search-sidebar.php – Search page hook

search_sidebar_location / oc-content/themes/search-sidebar.php – Search page hook

search_sidebar_pre / oc-content/themes/search-sidebar.php – Search page hook

search_sidebar_top / oc-content/themes/search-sidebar.php – Search page hook

RSS feed hooks

feed / controller/search.php – Run at feed page; $feed passed

rss_after / classes/RSSFeed.php – Runs at end of RSS feed

rss_before / classes/RSSFeed.php – Runs at start of RSS feed

rss_item / classes/RSSFeed.php – Runs in RSS items loop; item ID passed

HTML hooks

admin_footer / functions.php, oc-admin/index.php, ... – Run at admin panel footer

admin_footer_after / oc-admin/themes/omega/parts/footer.php – After admin footer content block

admin_footer_before / oc-admin/themes/omega/parts/footer.php – Before admin footer content block

admin_footer_pre / oc-admin/themes/omega/parts/footer.php – Before admin footer wrapper

admin_header / helpers/hCustomDataTable.php, oc-admin/themes/omega/admins/index.php, ... – Run at admin panel header

admin_menu / helpers/hAdminMenu.php – Run in admin menu

admin_menu_init / classes/AdminMenu.php – When admin menu structure is initialized

after-main / gui/footer.php, gui/item.php, ... – After main content area in theme layout

after_admin_html / core/AdminSecBaseModel.php, oc-admin/admins.php, ... – After admin HTML output

after_html / controller/ajax.php, controller/contact.php, ... – After HTML is sent to server output

before-content / gui/functions.php, gui/header.php, ... – Before main content wrapper in theme layout

before-main / gui/functions.php, gui/header.php, ... – Before main content area in theme layout

before_admin_html / core/AdminSecBaseModel.php, oc-admin/admins.php, ... – Before admin HTML output

before_html / controller/ajax.php, controller/contact.php, ... – Before HTML is sent to browser

body_class / functions.php – When site body CSS class attribute is built

footer / functions.php, gui/footer.php, ... – Run at site footer

footer_after / oc-content/themes/footer.php – Theme header/footer hook

footer_links / oc-content/themes/footer.php – Theme header/footer hook

footer_pre / oc-content/themes/footer.php – Theme header/footer hook

footer_top / oc-content/themes/footer.php – Theme header/footer hook

header / functions.php, gui/404.php, ... – Run at site header

header_after / oc-content/themes/header.php – Theme header/footer hook

header_bottom / oc-content/themes/header.php – Theme header/footer hook

header_links / oc-content/themes/header.php – Theme header/footer hook

header_top / oc-content/themes/header.php – Theme header/footer hook

inside-main / gui/functions.php, gui/header.php, ... – Inside main content wrapper in theme layout

structured_data_footer / structured-data.php – Run at footer structured data block

structured_data_header / structured-data.php – Run at header structured data block

Cron hooks

cron / cron.php – Run at manual cron

cron_daily / cron.php, functions.php – Run at daily cron

cron_hourly / cron.php – Run at hourly cron

cron_minutely / cron.php – Run at minutely cron

cron_monthly / cron.php, functions.php – Run at monthly cron

cron_weekly / cron.php, functions.php – Run at weekly cron

cron_yearly / cron.php – Run at yearly cron

Email hooks

hook_alert_email_daily / emails.php – Alert email send hook

hook_alert_email_hourly / emails.php – Alert email send hook

hook_alert_email_instant / emails.php – Alert email send hook

hook_alert_email_weekly / emails.php – Alert email send hook

hook_email_admin_new_item / emails.php, ItemActions.php – Email send hook; see hook name for context

hook_email_admin_new_user / emails.php, UserActions.php – Email send hook; see hook name for context

hook_email_alert_validation / controller/ajax.php, emails.php – Email send hook; see hook name for context

hook_email_comment_validated / emails.php, oc-admin/comments.php – Email send hook; see hook name for context

hook_email_contact_user / controller/user-non-secure.php, emails.php – Email send hook; see hook name for context

hook_email_item_inquiry / emails.php, ItemActions.php – Email send hook; see hook name for context

hook_email_item_validation / emails.php, ItemActions.php – Email send hook; see hook name for context

hook_email_item_validation_non_register_user / emails.php, ItemActions.php – Email send hook; see hook name for context

hook_email_new_admin / emails.php, oc-admin/admins.php – Email send hook; see hook name for context

hook_email_new_comment_admin / emails.php, ItemActions.php – Email send hook; see hook name for context

hook_email_new_comment_reply_admin / emails.php, ItemActions.php – Email send hook; see hook name for context

hook_email_new_comment_reply_user / emails.php, ItemActions.php – Email send hook; see hook name for context

hook_email_new_comment_user / emails.php, ItemActions.php – Email send hook; see hook name for context

hook_email_new_email / controller/user.php, emails.php – Email send hook; see hook name for context

hook_email_new_item_non_register_user / emails.php, ItemActions.php – Email send hook; see hook name for context

hook_email_send_friend / emails.php, ItemActions.php – Email send hook; see hook name for context

hook_email_user_forgot_password / emails.php, UserActions.php, ... – Email send hook; see hook name for context

hook_email_user_registration / controller/register.php, emails.php – Email send hook; see hook name for context

hook_email_user_validation / controller/login.php, emails.php, ... – Email send hook; see hook name for context

hook_email_warn_expiration / cron.php, emails.php – Email send hook; see hook name for context

Admin panel hooks

add_admin_toolbar_menus / classes/AdminToolbar.php, functions.php – At end of AdminToolbar::add_menus()

admin_admins_table / classes/datatables/AdminsDataTable.php – Admin datatable hook

admin_alerts_table / classes/datatables/AlertsDataTable.php – Admin datatable hook

admin_before_plugin_add / functions.php, oc-admin/plugins.php – Admin plugin action hook

admin_before_plugin_bulk_action / functions.php, oc-admin/plugins.php – Admin plugin action hook

admin_before_plugin_delete / functions.php, oc-admin/plugins.php – Admin plugin action hook

admin_before_plugin_disable / functions.php, oc-admin/plugins.php – Admin plugin action hook

admin_before_plugin_enable / functions.php, oc-admin/plugins.php – Admin plugin action hook

admin_before_plugin_install / functions.php, oc-admin/plugins.php – Admin plugin action hook

admin_before_plugin_uninstall / functions.php, oc-admin/plugins.php – Admin plugin action hook

admin_before_theme_add / functions.php, oc-admin/appearance.php – Before theme is added in admin

admin_before_theme_delete / functions.php, oc-admin/appearance.php – Before theme is deleted in admin

admin_categories_form / oc-admin/themes/omega/categories/frm.php, oc-admin/themes/omega/categories/iframe.php – Admin category edit form

admin_categories_form_bottom / oc-admin/themes/omega/categories/frm.php, oc-admin/themes/omega/categories/iframe.php – Bottom of admin category edit form

admin_categories_form_top / oc-admin/themes/omega/categories/frm.php, oc-admin/themes/omega/categories/iframe.php – Top of admin category edit form

admin_categories_table / classes/datatables/CategoriesDataTable.php – Admin datatable hook

admin_comments_table / classes/datatables/CommentsDataTable.php – Admin datatable hook

admin_contact_form / gui/contact.php, gui/item-send-friend.php, ... – Run at admin contact form block

admin_currencies_table / classes/datatables/CurrenciesDataTable.php – Admin datatable hook

admin_dashboard_bottom / oc-admin/themes/omega/main/index.php – Admin dashboard widget hook

admin_dashboard_col1_bot / oc-admin/themes/omega/main/index.php – Admin dashboard widget hook

admin_dashboard_col1_top / functions.php, oc-admin/themes/omega/main/index.php – Admin dashboard widget hook

admin_dashboard_col2_bot / oc-admin/themes/omega/main/index.php – Admin dashboard widget hook

admin_dashboard_col2_top / oc-admin/themes/omega/main/index.php – Admin dashboard widget hook

admin_dashboard_col3_bot / oc-admin/themes/omega/main/index.php – Admin dashboard widget hook

admin_dashboard_col3_top / oc-admin/themes/omega/main/index.php – Admin dashboard widget hook

admin_dashboard_setting_col1 / oc-admin/themes/omega/main/settings.php – Admin dashboard widget hook

admin_dashboard_setting_col2 / oc-admin/themes/omega/main/settings.php – Admin dashboard widget hook

admin_dashboard_setting_col3 / oc-admin/themes/omega/main/settings.php – Admin dashboard widget hook

admin_dashboard_setting_top / oc-admin/themes/omega/main/settings.php – Admin dashboard widget hook

admin_dashboard_top / oc-admin/themes/omega/functions.php, oc-admin/themes/omega/main/index.php – Admin dashboard widget hook

admin_edit_completed / oc-admin/admins.php – After admin profile edit is completed

admin_fields_form / oc-admin/themes/omega/fields/frm.php – Admin custom field edit form

admin_fields_form_bottom / oc-admin/themes/omega/fields/frm.php – Bottom of admin custom field edit form

admin_fields_form_top / oc-admin/themes/omega/fields/frm.php – Top of admin custom field edit form

admin_fields_table / classes/datatables/FieldsDataTable.php – Admin datatable hook

admin_items_actions / oc-admin/themes/omega/items/frm.php – Admin item edit/list hook (Osclass 8.0.2+)

admin_items_form_left_middle / oc-admin/themes/omega/items/frm.php – Admin item edit/list hook (Osclass 8.0.2+)

admin_items_form_left_top / oc-admin/themes/omega/items/frm.php – Admin item edit/list hook (Osclass 8.0.2+)

admin_items_form_right_top / oc-admin/themes/omega/items/frm.php – Admin item edit/list hook (Osclass 8.0.2+)

admin_items_header / oc-admin/themes/omega/items/frm.php – Admin item edit/list hook (Osclass 8.0.2+)

admin_items_reported_sort_columns / classes/datatables/ItemsDataTable.php – Admin item edit/list hook (Osclass 8.0.2+)

admin_items_reported_table / classes/datatables/ItemsDataTable.php – Admin item edit/list hook (Osclass 8.0.2+)

admin_items_sort_columns / classes/datatables/ItemsDataTable.php – Admin item edit/list hook (Osclass 8.0.2+)

admin_items_table / classes/datatables/ItemsDataTable.php – Admin item edit/list hook (Osclass 8.0.2+)

admin_languages_table / classes/datatables/LanguagesDataTable.php – Admin datatable hook

admin_login_footer / oc-admin/gui/forgot_password.php, oc-admin/gui/login.php, ... – Admin login page footer

admin_login_header / oc-admin/gui/forgot_password.php, oc-admin/gui/login.php, ... – Admin login page header

admin_logs_table / classes/datatables/LogsDataTable.php – Admin datatable hook

admin_media_table / classes/datatables/MediaDataTable.php – Admin datatable hook

admin_page_header / oc-admin/themes/omega/admins/frm.php, oc-admin/themes/omega/admins/index.php, ... – Admin page content header block

admin_pages_table / classes/datatables/PagesDataTable.php – Admin datatable hook

admin_post / oc-admin/plugins.php – After admin plugin POST action in plugins manager

admin_profile_form / oc-admin/themes/omega/admins/frm.php – Admin profile edit form

admin_rules_table / classes/datatables/BanRulesDataTable.php – Admin datatable hook

admin_translations_edit_actions / oc-admin/themes/omega/translations/edit.php – Admin translations page hook

admin_translations_edit_bottom / oc-admin/themes/omega/translations/edit.php – Admin translations page hook

admin_translations_edit_buttons_bottom / oc-admin/themes/omega/translations/edit.php – Admin translations page hook

admin_translations_edit_buttons_middle / oc-admin/themes/omega/translations/edit.php – Admin translations page hook

admin_translations_edit_buttons_top / oc-admin/themes/omega/translations/edit.php – Admin translations page hook

admin_translations_edit_catalog / oc-admin/themes/omega/translations/edit.php – Admin translations page hook

admin_translations_edit_form / oc-admin/themes/omega/translations/edit.php – Admin translations page hook

admin_translations_edit_options / oc-admin/themes/omega/translations/edit.php – Admin translations page hook

admin_translations_edit_stats / oc-admin/themes/omega/translations/edit.php – Admin translations page hook

admin_translations_edit_top / oc-admin/themes/omega/translations/edit.php – Admin translations page hook

admin_translations_list_bottom / oc-admin/themes/omega/translations/index.php – Admin translations page hook

admin_translations_list_top / oc-admin/themes/omega/translations/index.php – Admin translations page hook

admin_users_table / classes/datatables/UsersDataTable.php – Admin datatable hook

after_show_pagination_admin / helpers/hPagination.php – After action hook

before_show_pagination_admin / helpers/hCustomDataTable.php, helpers/hPagination.php, ... – Before action hook

filters_manage_item_search / oc-admin/themes/omega/items/index.php – Osclass hook

filters_manage_user_search / oc-admin/themes/omega/users/index.php – Osclass hook

help_box / oc-admin/themes/omega/admins/index.php, oc-admin/themes/omega/appearance/add.php, ... – Osclass hook

render_admintoolbar / classes/AdminToolbar.php – Osclass hook

render_admintoolbar_after / classes/AdminToolbar.php – Osclass hook

render_admintoolbar_pre / classes/AdminToolbar.php, oc-admin/themes/omega/functions.php – Osclass hook

Plugin lifecycle hooks

after_plugin_activate / classes/Plugins.php, functions.php – Plugin lifecycle hook

after_plugin_deactivate / classes/Plugins.php, functions.php – Plugin lifecycle hook

after_plugin_install / classes/Plugins.php, functions.php – Plugin lifecycle hook

after_plugin_uninstall / classes/Plugins.php, functions.php – Plugin lifecycle hook

before_plugin_activate / classes/Plugins.php – Plugin lifecycle hook

before_plugin_deactivate / classes/Plugins.php – Plugin lifecycle hook

before_plugin_install / classes/Plugins.php – Plugin lifecycle hook

before_plugin_uninstall / classes/Plugins.php – Plugin lifecycle hook

renderplugin_controller / oc-admin/plugins.php – Osclass hook

theme_delete_sigma / gui/functions.php, oc-content/themes/functions.php – Osclass hook

Theme design hooks

Themes that support new theme hooks must define constant THEME_COMPATIBLE_WITH_OSCLASS_HOOKS with value 820 or higher.

For publish and edit pages, item_form and item_edit variant hooks are executed via ajax runhook when functions are hooked to them.

home_bottom / oc-content/themes/main.php – Home page theme hook

home_latest / oc-content/themes/functions.php – Home page theme hook

home_premium / oc-content/themes/functions.php – Home page theme hook

home_search_after / oc-content/themes/header.php – Home page theme hook

home_search_bottom / oc-content/themes/header.php – Home page theme hook

home_search_pre / oc-content/themes/header.php – Home page theme hook

home_search_top / oc-content/themes/header.php – Home page theme hook

home_top / oc-content/themes/main.php – Home page theme hook

Publish post hooks

Edit post hooks

Other hooks

add_category / oc-admin/categories.php – When category is added

added_field / oc-admin/custom_fields.php – When custom field is added

after_auto_upgrade / emails.php, functions.php, ... – After auto-upgrade; $result passed

after_delete_item / ItemActions.php – After item is deleted; $itemId and $item passed

after_delete_user / model/User.php – After user is deleted; $id passed

after_rewrite_rules / oc-admin/controller/settings/permalinks.php – After rewrite rules are generated

after_send_email / utils.php – When email sent successfully; $params and $mail passed (Osclass 8.0.2)

after_upgrade / functions.php, utils.php – After upgrade finished; $error passed

ajax_admin_compactmode / oc-admin/themes/omega/functions.php – Osclass hook

alert_change_expire / controller/user.php – Osclass hook

alert_created / controller/ajax.php – When alert is created via ajax

before_auto_upgrade / functions.php, utils.php – Before auto-upgrade starts

before_delete_item / ItemActions.php, model/Item.php – Before item is removed; $item passed (Osclass 8.1.2)

before_public_profile / controller/user-non-secure.php – Before action hook

before_rewrite_rules / oc-admin/controller/settings/permalinks.php – Before rewrite rules are generated

before_send_email / utils.php – Right before mail is sent; $params and $mail passed (Osclass 8.0.2)

before_validating_login / controller/login.php – Before action hook

contact_form / gui/contact.php, gui/item-send-friend.php, ... – Run at contact form

custom_controller / controller/custom.php – Run on custom controller page load

custom_item_query / functions.php – When custom item query is built

delete_category / model/Category.php – Run at category deletion

delete_locale / model/OSCLocale.php – When locale is deleted; $locale passed

edit_page / oc-admin/pages.php – When static page is edited in admin

edited_category / oc-admin/ajax/ajax.php, oc-admin/categories.php – After category is edited in admin

edited_category_order / oc-admin/ajax/ajax.php – After category order is changed

edited_field / oc-admin/ajax/ajax.php, oc-admin/custom_fields.php – After custom field is edited in admin

location / gui/item.php, oc-content/themes/item.php – Run at item detail page just after item_detail hook

page_meta / oc-admin/themes/omega/pages/frm.php – Admin static page meta fields form

pre_contact_post / controller/contact.php – Before contact form POST is processed

pre_send_email / utils.php – At start of send mail; $params passed (Osclass 8.0.2)

pre_user_post / UserActions.php – Run before user registration or account edit (Osclass 3.1+)

sql_search_conditions_before / model/Search.php – Before search SQL conditions are built

static_pages_list_all / model/Page.php – When all static pages are listed

theme_activate / functions.php, oc-admin/appearance.php, ... – When theme is activated; $theme passed

tinymce_item_script_after / functions.php – TinyMCE script injection hook

tinymce_item_script_bottom / functions.php – TinyMCE script injection hook

tinymce_item_script_top / functions.php – TinyMCE script injection hook

tinymce_user_script_after / functions.php – TinyMCE script injection hook

tinymce_user_script_bottom / functions.php – TinyMCE script injection hook

tinymce_user_script_top / functions.php – TinyMCE script injection hook

List of hooks

Format: {hook name} / {file where used} / {short description}. Includes all hooks found in core and active theme code.

  • activate_comment / oc-admin/comments.php – When comment is activated; $id passed
  • activate_item / ItemActions.php – Run when item is activated; $id passed
  • activate_user / UserActions.php – After user is activated; $id passed
  • add_admin_toolbar_menus / classes/AdminToolbar.php, functions.php – At end of AdminToolbar::add_menus()
  • add_category / oc-admin/categories.php – When category is added
  • add_comment / ItemActions.php, oc-admin/comments.php – When comment is added; $id passed
  • added_field / oc-admin/custom_fields.php – When custom field is added
  • admin_admins_table / classes/datatables/AdminsDataTable.php – Admin datatable hook
  • admin_alerts_table / classes/datatables/AlertsDataTable.php – Admin datatable hook
  • admin_before_plugin_add / functions.php, oc-admin/plugins.php – Admin plugin action hook
  • admin_before_plugin_bulk_action / functions.php, oc-admin/plugins.php – Admin plugin action hook
  • admin_before_plugin_delete / functions.php, oc-admin/plugins.php – Admin plugin action hook
  • admin_before_plugin_disable / functions.php, oc-admin/plugins.php – Admin plugin action hook
  • admin_before_plugin_enable / functions.php, oc-admin/plugins.php – Admin plugin action hook
  • admin_before_plugin_install / functions.php, oc-admin/plugins.php – Admin plugin action hook
  • admin_before_plugin_uninstall / functions.php, oc-admin/plugins.php – Admin plugin action hook
  • admin_before_theme_add / functions.php, oc-admin/appearance.php – Before theme is added in admin
  • admin_before_theme_delete / functions.php, oc-admin/appearance.php – Before theme is deleted in admin
  • admin_categories_form / oc-admin/themes/omega/categories/frm.php, oc-admin/themes/omega/categories/iframe.php – Admin category edit form
  • admin_categories_form_bottom / oc-admin/themes/omega/categories/frm.php, oc-admin/themes/omega/categories/iframe.php – Bottom of admin category edit form
  • admin_categories_form_top / oc-admin/themes/omega/categories/frm.php, oc-admin/themes/omega/categories/iframe.php – Top of admin category edit form
  • admin_categories_table / classes/datatables/CategoriesDataTable.php – Admin datatable hook
  • admin_comments_table / classes/datatables/CommentsDataTable.php – Admin datatable hook
  • admin_contact_form / gui/contact.php, gui/item-send-friend.php, ... – Run at admin contact form block
  • admin_currencies_table / classes/datatables/CurrenciesDataTable.php – Admin datatable hook
  • admin_dashboard_bottom / oc-admin/themes/omega/main/index.php – Admin dashboard widget hook
  • admin_dashboard_col1_bot / oc-admin/themes/omega/main/index.php – Admin dashboard widget hook
  • admin_dashboard_col1_top / functions.php, oc-admin/themes/omega/main/index.php – Admin dashboard widget hook
  • admin_dashboard_col2_bot / oc-admin/themes/omega/main/index.php – Admin dashboard widget hook
  • admin_dashboard_col2_top / oc-admin/themes/omega/main/index.php – Admin dashboard widget hook
  • admin_dashboard_col3_bot / oc-admin/themes/omega/main/index.php – Admin dashboard widget hook
  • admin_dashboard_col3_top / oc-admin/themes/omega/main/index.php – Admin dashboard widget hook
  • admin_dashboard_setting_col1 / oc-admin/themes/omega/main/settings.php – Admin dashboard widget hook
  • admin_dashboard_setting_col2 / oc-admin/themes/omega/main/settings.php – Admin dashboard widget hook
  • admin_dashboard_setting_col3 / oc-admin/themes/omega/main/settings.php – Admin dashboard widget hook
  • admin_dashboard_setting_top / oc-admin/themes/omega/main/settings.php – Admin dashboard widget hook
  • admin_dashboard_top / oc-admin/themes/omega/functions.php, oc-admin/themes/omega/main/index.php – Admin dashboard widget hook
  • admin_edit_completed / oc-admin/admins.php – After admin profile edit is completed
  • admin_fields_form / oc-admin/themes/omega/fields/frm.php – Admin custom field edit form
  • admin_fields_form_bottom / oc-admin/themes/omega/fields/frm.php – Bottom of admin custom field edit form
  • admin_fields_form_top / oc-admin/themes/omega/fields/frm.php – Top of admin custom field edit form
  • admin_fields_table / classes/datatables/FieldsDataTable.php – Admin datatable hook
  • admin_footer / functions.php, oc-admin/index.php, ... – Run at admin panel footer
  • admin_footer_after / oc-admin/themes/omega/parts/footer.php – After admin footer content block
  • admin_footer_before / oc-admin/themes/omega/parts/footer.php – Before admin footer content block
  • admin_footer_pre / oc-admin/themes/omega/parts/footer.php – Before admin footer wrapper
  • admin_header / helpers/hCustomDataTable.php, oc-admin/themes/omega/admins/index.php, ... – Run at admin panel header
  • admin_items_actions / oc-admin/themes/omega/items/frm.php – Admin item edit/list hook (Osclass 8.0.2+)
  • admin_items_form_left_middle / oc-admin/themes/omega/items/frm.php – Admin item edit/list hook (Osclass 8.0.2+)
  • admin_items_form_left_top / oc-admin/themes/omega/items/frm.php – Admin item edit/list hook (Osclass 8.0.2+)
  • admin_items_form_right_top / oc-admin/themes/omega/items/frm.php – Admin item edit/list hook (Osclass 8.0.2+)
  • admin_items_header / oc-admin/themes/omega/items/frm.php – Admin item edit/list hook (Osclass 8.0.2+)
  • admin_items_reported_sort_columns / classes/datatables/ItemsDataTable.php – Admin item edit/list hook (Osclass 8.0.2+)
  • admin_items_reported_table / classes/datatables/ItemsDataTable.php – Admin item edit/list hook (Osclass 8.0.2+)
  • admin_items_sort_columns / classes/datatables/ItemsDataTable.php – Admin item edit/list hook (Osclass 8.0.2+)
  • admin_items_table / classes/datatables/ItemsDataTable.php – Admin item edit/list hook (Osclass 8.0.2+)
  • admin_languages_table / classes/datatables/LanguagesDataTable.php – Admin datatable hook
  • admin_login_footer / oc-admin/gui/forgot_password.php, oc-admin/gui/login.php, ... – Admin login page footer
  • admin_login_header / oc-admin/gui/forgot_password.php, oc-admin/gui/login.php, ... – Admin login page header
  • admin_logs_table / classes/datatables/LogsDataTable.php – Admin datatable hook
  • admin_media_table / classes/datatables/MediaDataTable.php – Admin datatable hook
  • admin_menu / helpers/hAdminMenu.php – Run in admin menu
  • admin_menu_init / classes/AdminMenu.php – When admin menu structure is initialized
  • admin_page_header / oc-admin/themes/omega/admins/frm.php, oc-admin/themes/omega/admins/index.php, ... – Admin page content header block
  • admin_pages_table / classes/datatables/PagesDataTable.php – Admin datatable hook
  • admin_post / oc-admin/plugins.php – After admin plugin POST action in plugins manager
  • admin_profile_form / oc-admin/themes/omega/admins/frm.php – Admin profile edit form
  • admin_rules_table / classes/datatables/BanRulesDataTable.php – Admin datatable hook
  • admin_scripts_loaded / helpers/hTheme.php – Run after admin scripts are loaded in theme
  • admin_translations_edit_actions / oc-admin/themes/omega/translations/edit.php – Admin translations page hook
  • admin_translations_edit_bottom / oc-admin/themes/omega/translations/edit.php – Admin translations page hook
  • admin_translations_edit_buttons_bottom / oc-admin/themes/omega/translations/edit.php – Admin translations page hook
  • admin_translations_edit_buttons_middle / oc-admin/themes/omega/translations/edit.php – Admin translations page hook
  • admin_translations_edit_buttons_top / oc-admin/themes/omega/translations/edit.php – Admin translations page hook
  • admin_translations_edit_catalog / oc-admin/themes/omega/translations/edit.php – Admin translations page hook
  • admin_translations_edit_form / oc-admin/themes/omega/translations/edit.php – Admin translations page hook
  • admin_translations_edit_options / oc-admin/themes/omega/translations/edit.php – Admin translations page hook
  • admin_translations_edit_stats / oc-admin/themes/omega/translations/edit.php – Admin translations page hook
  • admin_translations_edit_top / oc-admin/themes/omega/translations/edit.php – Admin translations page hook
  • admin_translations_list_bottom / oc-admin/themes/omega/translations/index.php – Admin translations page hook
  • admin_translations_list_top / oc-admin/themes/omega/translations/index.php – Admin translations page hook
  • admin_users_table / classes/datatables/UsersDataTable.php – Admin datatable hook
  • after-main / gui/footer.php, gui/item.php, ... – After main content area in theme layout
  • after_admin_html / core/AdminSecBaseModel.php, oc-admin/admins.php, ... – After admin HTML output
  • after_auto_upgrade / emails.php, functions.php, ... – After auto-upgrade; $result passed
  • after_delete_item / ItemActions.php – After item is deleted; $itemId and $item passed
  • after_delete_user / model/User.php – After user is deleted; $id passed
  • after_html / controller/ajax.php, controller/contact.php, ... – After HTML is sent to server output
  • after_login / helpers/hDefines.php, oc-admin/users.php – Run when user is logged in; $user and $url_redirect passed
  • after_plugin_activate / classes/Plugins.php, functions.php – Plugin lifecycle hook
  • after_plugin_deactivate / classes/Plugins.php, functions.php – Plugin lifecycle hook
  • after_plugin_install / classes/Plugins.php, functions.php – Plugin lifecycle hook
  • after_plugin_uninstall / classes/Plugins.php, functions.php – Plugin lifecycle hook
  • after_rewrite_rules / oc-admin/controller/settings/permalinks.php – After rewrite rules are generated
  • after_search / controller/search.php – Run after search is processed
  • after_send_email / utils.php – When email sent successfully; $params and $mail passed (Osclass 8.0.2)
  • after_show_pagination_admin / helpers/hPagination.php – After action hook
  • after_upgrade / functions.php, utils.php – After upgrade finished; $error passed
  • after_username_change / controller/user.php – After username change is completed
  • ajax_admin_compactmode / oc-admin/themes/omega/functions.php – Osclass hook
  • ajax_custom / controller/ajax.php – Run as ajax action custom_ajax
  • alert_change_expire / controller/user.php – Osclass hook
  • alert_created / controller/ajax.php – When alert is created via ajax
  • before-content / gui/functions.php, gui/header.php, ... – Before main content wrapper in theme layout
  • before-main / gui/functions.php, gui/header.php, ... – Before main content area in theme layout
  • before_add_comment / ItemActions.php, oc-admin/comments.php – Before comment is saved
  • before_admin_html / core/AdminSecBaseModel.php, oc-admin/admins.php, ... – Before admin HTML output
  • before_auto_upgrade / functions.php, utils.php – Before auto-upgrade starts
  • before_delete_item / ItemActions.php, model/Item.php – Before item is removed; $item passed (Osclass 8.1.2)
  • before_html / controller/ajax.php, controller/contact.php, ... – Before HTML is sent to browser
  • before_init / core/BaseModel.php – Run before frontend init
  • before_item_edit / controller/item.php, oc-admin/items.php – Run before edit item page is loaded
  • before_login / controller/login.php – Run before user login is created
  • before_login_admin / oc-admin/login.php – Before admin login is processed
  • before_plugin_activate / classes/Plugins.php – Plugin lifecycle hook
  • before_plugin_deactivate / classes/Plugins.php – Plugin lifecycle hook
  • before_plugin_install / classes/Plugins.php – Plugin lifecycle hook
  • before_plugin_uninstall / classes/Plugins.php – Plugin lifecycle hook
  • before_public_profile / controller/user-non-secure.php – Before action hook
  • before_rewrite_rules / oc-admin/controller/settings/permalinks.php – Before rewrite rules are generated
  • before_search / controller/search.php – Run before search request
  • before_send_email / utils.php – Right before mail is sent; $params and $mail passed (Osclass 8.0.2)
  • before_show_pagination_admin / helpers/hCustomDataTable.php, helpers/hPagination.php, ... – Before action hook
  • before_user_delete / controller/user.php – Before user deletes own account
  • before_user_items / controller/user.php – Before user items page is loaded
  • before_user_register / controller/register.php – Run before user registration form is processed
  • before_username_change / controller/user.php – Before username change is processed
  • before_validating_login / controller/login.php – Before action hook
  • body_class / functions.php – When site body CSS class attribute is built
  • change_email_confirm / controller/user-non-secure.php – When user confirms email change request
  • contact_form / gui/contact.php, gui/item-send-friend.php, ... – Run at contact form
  • cron / cron.php – Run at manual cron
  • cron_daily / cron.php, functions.php – Run at daily cron
  • cron_hourly / cron.php – Run at hourly cron
  • cron_minutely / cron.php – Run at minutely cron
  • cron_monthly / cron.php, functions.php – Run at monthly cron
  • cron_weekly / cron.php, functions.php – Run at weekly cron
  • cron_yearly / cron.php – Run at yearly cron
  • custom_controller / controller/custom.php – Run on custom controller page load
  • custom_item_query / functions.php – When custom item query is built
  • custom_query / helpers/hItems.php – Run when custom query is processed; $key and $value passed
  • deactivate_comment / oc-admin/comments.php – When comment is deactivated; $id passed
  • deactivate_item / ItemActions.php – Run when item is deactivated; $id passed
  • deactivate_user / UserActions.php – After user is deactivated; $id passed
  • delete_category / model/Category.php – Run at category deletion
  • delete_comment / oc-admin/comments.php – When comment is deleted; $id passed
  • delete_item / model/Item.php – When item is deleted; $id passed
  • delete_locale / model/OSCLocale.php – When locale is deleted; $locale passed
  • delete_resource / utils.php – Run after resource is deleted; $resource passed
  • delete_user / model/User.php – Before user is removed; $id passed
  • disable_comment / oc-admin/comments.php – When comment is disabled; $id passed
  • disable_item / ItemActions.php – Run when item is disabled; $id passed
  • disable_user / UserActions.php – After user is disabled; $id passed
  • edit_comment / oc-admin/comments.php – When comment edit is complete; $id passed
  • edit_comment_reply / oc-admin/comments.php – When reply comment edit is complete; parent $id passed (Osclass 8.0.3)
  • edit_page / oc-admin/pages.php – When static page is edited in admin
  • edited_category / oc-admin/ajax/ajax.php, oc-admin/categories.php – After category is edited in admin
  • edited_category_order / oc-admin/ajax/ajax.php – After category order is changed
  • edited_field / oc-admin/ajax/ajax.php, oc-admin/custom_fields.php – After custom field is edited in admin
  • edited_item / ItemActions.php – Run when item is edited; $item passed
  • enable_comment / oc-admin/comments.php – When comment is enabled; $id passed
  • enable_item / ItemActions.php – Run when item is enabled; $id passed
  • enable_user / UserActions.php – After user is enabled; $id passed
  • feed / controller/search.php – Run at feed page; $feed passed
  • filters_manage_item_search / oc-admin/themes/omega/items/index.php – Osclass hook
  • filters_manage_user_search / oc-admin/themes/omega/users/index.php – Osclass hook
  • footer / functions.php, gui/footer.php, ... – Run at site footer
  • footer_after / oc-content/themes/footer.php – Theme header/footer hook
  • footer_links / oc-content/themes/footer.php – Theme header/footer hook
  • footer_pre / oc-content/themes/footer.php – Theme header/footer hook
  • footer_top / oc-content/themes/footer.php – Theme header/footer hook
  • header / functions.php, gui/404.php, ... – Run at site header
  • header_after / oc-content/themes/header.php – Theme header/footer hook
  • header_bottom / oc-content/themes/header.php – Theme header/footer hook
  • header_links / oc-content/themes/header.php – Theme header/footer hook
  • header_top / oc-content/themes/header.php – Theme header/footer hook
  • help_box / oc-admin/themes/omega/admins/index.php, oc-admin/themes/omega/appearance/add.php, ... – Osclass hook
  • highlight_class / gui/loop-single-premium.php, gui/loop-single.php, ... – Run in item loop to add listing CSS class
  • home_bottom / oc-content/themes/main.php – Home page theme hook
  • home_latest / oc-content/themes/functions.php – Home page theme hook
  • home_premium / oc-content/themes/functions.php – Home page theme hook
  • home_search_after / oc-content/themes/header.php – Home page theme hook
  • home_search_bottom / oc-content/themes/header.php – Home page theme hook
  • home_search_pre / oc-content/themes/header.php – Home page theme hook
  • home_search_top / oc-content/themes/header.php – Home page theme hook
  • home_top / oc-content/themes/main.php – Home page theme hook
  • hook_alert_email_daily / emails.php – Alert email send hook
  • hook_alert_email_hourly / emails.php – Alert email send hook
  • hook_alert_email_instant / emails.php – Alert email send hook
  • hook_alert_email_weekly / emails.php – Alert email send hook
  • hook_email_admin_new_item / emails.php, ItemActions.php – Email send hook; see hook name for context
  • hook_email_admin_new_user / emails.php, UserActions.php – Email send hook; see hook name for context
  • hook_email_alert_validation / controller/ajax.php, emails.php – Email send hook; see hook name for context
  • hook_email_comment_validated / emails.php, oc-admin/comments.php – Email send hook; see hook name for context
  • hook_email_contact_user / controller/user-non-secure.php, emails.php – Email send hook; see hook name for context
  • hook_email_item_inquiry / emails.php, ItemActions.php – Email send hook; see hook name for context
  • hook_email_item_validation / emails.php, ItemActions.php – Email send hook; see hook name for context
  • hook_email_item_validation_non_register_user / emails.php, ItemActions.php – Email send hook; see hook name for context
  • hook_email_new_admin / emails.php, oc-admin/admins.php – Email send hook; see hook name for context
  • hook_email_new_comment_admin / emails.php, ItemActions.php – Email send hook; see hook name for context
  • hook_email_new_comment_reply_admin / emails.php, ItemActions.php – Email send hook; see hook name for context
  • hook_email_new_comment_reply_user / emails.php, ItemActions.php – Email send hook; see hook name for context
  • hook_email_new_comment_user / emails.php, ItemActions.php – Email send hook; see hook name for context
  • hook_email_new_email / controller/user.php, emails.php – Email send hook; see hook name for context
  • hook_email_new_item_non_register_user / emails.php, ItemActions.php – Email send hook; see hook name for context
  • hook_email_send_friend / emails.php, ItemActions.php – Email send hook; see hook name for context
  • hook_email_user_forgot_password / emails.php, UserActions.php, ... – Email send hook; see hook name for context
  • hook_email_user_registration / controller/register.php, emails.php – Email send hook; see hook name for context
  • hook_email_user_validation / controller/login.php, emails.php, ... – Email send hook; see hook name for context
  • hook_email_warn_expiration / cron.php, emails.php – Email send hook; see hook name for context
  • init / core/BaseModel.php, functions.php, ... – Run after frontend has finished loading; useful for enqueueing scripts and styles
  • init_admin / core/AdminBaseModel.php, core/AdminSecBaseModel.php, ... – Run after admin has finished loading; useful for enqueueing scripts and styles
  • init_admin_insecure / core/AdminBaseModel.php – Run on insecure admin controller init
  • init_ajax / controller/ajax.php – Run on ajax controller init
  • init_contact / controller/contact.php – Run on contact controller init
  • init_custom / controller/custom.php – Run on custom controller init
  • init_item / controller/item.php – Run on item controller init
  • init_language / controller/language.php – Run on language switch controller init
  • init_login / controller/login.php – Run on login controller init
  • init_main / controller/main.php – Run on main controller init
  • init_page / controller/page.php – Run on static page controller init
  • init_register / controller/register.php – Run on register controller init
  • init_user / controller/user.php – Run on user controller init
  • init_user_non_secure / controller/user-non-secure.php – Run on public user controller init
  • inside-main / gui/functions.php, gui/header.php, ... – Inside main content wrapper in theme layout
  • item_bottom / oc-content/themes/item.php – Item page or item action hook
  • item_comment / oc-content/themes/item.php – Item page or item action hook
  • item_comment_form / oc-content/themes/item.php – Item page or item action hook
  • item_contact / oc-content/themes/item-sidebar.php – Item page or item action hook
  • item_contact_form / gui/item-sidebar.php, gui/user-public-sidebar.php, ... – Run at contact item publisher form
  • item_decrease_stat / ItemActions.php – When item view statistic is decreased
  • item_description_after / oc-content/themes/item.php – After item description on item page (theme hook)
  • item_detail / gui/item.php, oc-content/themes/item.php – Run in middle of item detail page; $item passed
  • item_edit / controller/ajax.php, functions.php, ... – Run at edit item form; $cat_id and $item_id passed
  • item_edit_after / controller/ajax.php, functions.php – Edit item form variant hook (Osclass 8.2+, via ajax runhook)
  • item_edit_bottom / controller/ajax.php, functions.php – Edit item form variant hook (Osclass 8.2+, via ajax runhook)
  • item_edit_buttons / controller/ajax.php, functions.php – Edit item form variant hook (Osclass 8.2+, via ajax runhook)
  • item_edit_category / controller/ajax.php, functions.php – Edit item form variant hook (Osclass 8.2+, via ajax runhook)
  • item_edit_description / controller/ajax.php, functions.php – Edit item form variant hook (Osclass 8.2+, via ajax runhook)
  • item_edit_hook / controller/ajax.php, functions.php – Edit item form variant hook (Osclass 8.2+, via ajax runhook)
  • item_edit_images / controller/ajax.php, functions.php – Edit item form variant hook (Osclass 8.2+, via ajax runhook)
  • item_edit_location / controller/ajax.php, functions.php – Edit item form variant hook (Osclass 8.2+, via ajax runhook)
  • item_edit_price / controller/ajax.php, functions.php – Edit item form variant hook (Osclass 8.2+, via ajax runhook)
  • item_edit_seller / controller/ajax.php, functions.php – Edit item form variant hook (Osclass 8.2+, via ajax runhook)
  • item_edit_top / controller/ajax.php, functions.php – Edit item form variant hook (Osclass 8.2+, via ajax runhook)
  • item_form / controller/ajax.php, functions.php, ... – Run at publish new item form; $catId passed
  • item_form_after / controller/ajax.php, functions.php – Publish item form variant hook (Osclass 8.2+, via ajax runhook)
  • item_form_bottom / controller/ajax.php, functions.php – Publish item form variant hook (Osclass 8.2+, via ajax runhook)
  • item_form_buttons / controller/ajax.php, functions.php – Publish item form variant hook (Osclass 8.2+, via ajax runhook)
  • item_form_category / controller/ajax.php, functions.php – Publish item form variant hook (Osclass 8.2+, via ajax runhook)
  • item_form_description / controller/ajax.php, functions.php – Publish item form variant hook (Osclass 8.2+, via ajax runhook)
  • item_form_hook / controller/ajax.php, functions.php – Publish item form variant hook (Osclass 8.2+, via ajax runhook)
  • item_form_images / controller/ajax.php, functions.php – Publish item form variant hook (Osclass 8.2+, via ajax runhook)
  • item_form_location / controller/ajax.php, functions.php – Publish item form variant hook (Osclass 8.2+, via ajax runhook)
  • item_form_new_validation_attributes / frm/Item.form.class.php – Publish item form variant hook (Osclass 8.2+, via ajax runhook)
  • item_form_new_validation_messages / frm/Item.form.class.php – Publish item form variant hook (Osclass 8.2+, via ajax runhook)
  • item_form_new_validation_rules / frm/Item.form.class.php – Publish item form variant hook (Osclass 8.2+, via ajax runhook)
  • item_form_new_validation_top / frm/Item.form.class.php – Publish item form variant hook (Osclass 8.2+, via ajax runhook)
  • item_form_price / controller/ajax.php, functions.php – Publish item form variant hook (Osclass 8.2+, via ajax runhook)
  • item_form_seller / controller/ajax.php, functions.php – Publish item form variant hook (Osclass 8.2+, via ajax runhook)
  • item_form_top / controller/ajax.php, functions.php – Publish item form variant hook (Osclass 8.2+, via ajax runhook)
  • item_form_validation_attributes / frm/Item.form.class.php – Publish item form variant hook (Osclass 8.2+, via ajax runhook)
  • item_form_validation_messages / frm/Item.form.class.php – Publish item form variant hook (Osclass 8.2+, via ajax runhook)
  • item_form_validation_rules / frm/Item.form.class.php – Publish item form variant hook (Osclass 8.2+, via ajax runhook)
  • item_form_validation_top / frm/Item.form.class.php – Publish item form variant hook (Osclass 8.2+, via ajax runhook)
  • item_images / oc-content/themes/item.php – Item page or item action hook
  • item_increase_stat / ItemActions.php – When item view statistic is increased
  • item_loop_bottom / oc-content/themes/loop-single-premium.php, oc-content/themes/loop-single.php – Item page or item action hook
  • item_loop_description / oc-content/themes/loop-single-premium.php, oc-content/themes/loop-single.php – After item description in listing loop (theme hook, Osclass 8.2+)
  • item_loop_title / oc-content/themes/loop-single-premium.php, oc-content/themes/loop-single.php – After item title in listing loop (theme hook, Osclass 8.2+)
  • item_loop_top / oc-content/themes/loop-single-premium.php, oc-content/themes/loop-single.php – Item page or item action hook
  • item_meta / oc-content/themes/item.php – Item page or item action hook
  • item_premium_off / ItemActions.php – When item is unmarked as premium
  • item_premium_on / ItemActions.php – When item is marked as premium
  • item_publish_after / functions.php, oc-content/themes/item-post.php – After publish item form (theme hook, Osclass 8.2+)
  • item_publish_bottom / functions.php, oc-content/themes/item-post.php – Publish item page theme hook (Osclass 8.2+)
  • item_publish_buttons / functions.php, oc-content/themes/item-post.php – Publish item page theme hook (Osclass 8.2+)
  • item_publish_category / functions.php, oc-content/themes/item-post.php – Publish item page theme hook (Osclass 8.2+)
  • item_publish_description / functions.php, oc-content/themes/item-post.php – Publish item page theme hook (Osclass 8.2+)
  • item_publish_hook / functions.php, oc-content/themes/item-post.php – Publish item page theme hook (Osclass 8.2+)
  • item_publish_images / functions.php, oc-content/themes/item-post.php – Publish item page theme hook (Osclass 8.2+)
  • item_publish_location / functions.php, oc-content/themes/item-post.php – Publish item page theme hook (Osclass 8.2+)
  • item_publish_price / functions.php, oc-content/themes/item-post.php – Publish item page theme hook (Osclass 8.2+)
  • item_publish_seller / functions.php, oc-content/themes/item-post.php – Publish item page theme hook (Osclass 8.2+)
  • item_publish_top / functions.php, oc-content/themes/item-post.php – Top of publish item form (theme hook, Osclass 8.2+)
  • item_sidebar_bottom / oc-content/themes/item-sidebar.php – Item page or item action hook
  • item_sidebar_top / oc-content/themes/item-sidebar.php – Item page or item action hook
  • item_sidebar_user / oc-content/themes/item-sidebar.php – Item page or item action hook
  • item_spam_off / ItemActions.php – When item is unmarked as spam
  • item_spam_on / ItemActions.php – When item is marked as spam
  • item_title / oc-content/themes/item.php – Item page or item action hook
  • item_top / oc-content/themes/item.php – Item page or item action hook
  • location / gui/item.php, oc-content/themes/item.php – Run at item detail page just after item_detail hook
  • login_admin / oc-admin/login.php – When admin logs in successfully
  • login_admin_form / oc-admin/gui/login.php, oc-admin/themes/omega/gui/login.php – Inside admin login form
  • logout / controller/main.php – Run when user logs out
  • logout_admin / oc-admin/main.php – Run when admin logs out
  • manage_item_search_conditions / classes/datatables/ItemsDataTable.php – Before admin items datatable search conditions are applied
  • page_meta / oc-admin/themes/omega/pages/frm.php – Admin static page meta fields form
  • post_item / controller/item.php, oc-admin/items.php – Run before publish new item page is loaded
  • post_item_contact_post / controller/item.php – After item contact form POST; $item passed
  • post_item_send_friend_post / controller/item.php – After send-to-friend form POST; $item passed
  • posted_item / ItemActions.php – Run when item is posted; $item passed
  • pre_contact_post / controller/contact.php – Before contact form POST is processed
  • pre_item_add / ItemActions.php – Run before item is posted; $aItem and $flash_error passed
  • pre_item_add_comment_post / controller/item.php – Before add comment POST; $item passed
  • pre_item_contact_post / controller/item.php – Before item contact form POST; $item passed
  • pre_item_delete_comment_post / controller/item.php – Before delete comment POST; $item and $commentId passed
  • pre_item_edit / ItemActions.php – Run before item is edited; $aItem and $flash_error passed
  • pre_item_post / ItemActions.php – Run before item post/edit processing
  • pre_item_send_friend_post / controller/item.php – Before send-to-friend form POST; $item passed
  • pre_send_email / utils.php – At start of send mail; $params passed (Osclass 8.0.2)
  • pre_user_post / UserActions.php – Run before user registration or account edit (Osclass 3.1+)
  • regenerate_image / oc-admin/ajax/ajax.php – Run before image is regenerated; $resource passed
  • regenerated_image / oc-admin/ajax/ajax.php – Run after image is regenerated; $resource passed
  • register_email_taken / UserActions.php – When register email already exists
  • render_admintoolbar / classes/AdminToolbar.php – Osclass hook
  • render_admintoolbar_after / classes/AdminToolbar.php – Osclass hook
  • render_admintoolbar_pre / classes/AdminToolbar.php, oc-admin/themes/omega/functions.php – Osclass hook
  • renderplugin_controller / oc-admin/plugins.php – Osclass hook
  • renew_item / ItemActions.php – Run when item is renewed; $id passed
  • rss_after / classes/RSSFeed.php – Runs at end of RSS feed
  • rss_before / classes/RSSFeed.php – Runs at start of RSS feed
  • rss_item / classes/RSSFeed.php – Runs in RSS items loop; item ID passed
  • scripts_loaded / helpers/hTheme.php – Run after frontend scripts are loaded in theme
  • search / controller/search.php – Run at search page; $search object passed
  • search_ads_listing_medium / gui/functions.php, gui/loop.php, ... – Search page hook
  • search_ads_listing_top / gui/functions.php, gui/search.php, ... – Search page hook
  • search_conditions / controller/search.php – Run when search is submitted; $params array passed
  • search_engine_after_params_set / controller/search.php – Search page hook
  • search_form / functions.php, gui/search-sidebar.php, ... – Run at search form; $catId passed
  • search_items_bottom / oc-content/themes/search.php – Search page hook
  • search_items_filter / oc-content/themes/search.php – Search page hook
  • search_items_top / oc-content/themes/search.php – Search page hook
  • search_make_sql / model/Search.php – Search page hook
  • search_make_sql_premium / model/Search.php – Search page hook
  • search_sidebar_after / oc-content/themes/search-sidebar.php – Search page hook
  • search_sidebar_bottom / oc-content/themes/search-sidebar.php – Search page hook
  • search_sidebar_location / oc-content/themes/search-sidebar.php – Search page hook
  • search_sidebar_pre / oc-content/themes/search-sidebar.php – Search page hook
  • search_sidebar_top / oc-content/themes/search-sidebar.php – Search page hook
  • show_item / controller/item.php – Run at beginning of item detail page before header; $item passed
  • sql_search_conditions_before / model/Search.php – Before search SQL conditions are built
  • static_pages_list_all / model/Page.php – When all static pages are listed
  • structured_data_footer / structured-data.php – Run at footer structured data block
  • structured_data_header / structured-data.php – Run at header structured data block
  • theme_activate / functions.php, oc-admin/appearance.php, ... – When theme is activated; $theme passed
  • theme_delete_sigma / gui/functions.php, oc-content/themes/functions.php – Osclass hook
  • tinymce_item_script_after / functions.php – TinyMCE script injection hook
  • tinymce_item_script_bottom / functions.php – TinyMCE script injection hook
  • tinymce_item_script_top / functions.php – TinyMCE script injection hook
  • tinymce_user_script_after / functions.php – TinyMCE script injection hook
  • tinymce_user_script_bottom / functions.php – TinyMCE script injection hook
  • tinymce_user_script_top / functions.php – TinyMCE script injection hook
  • uploaded_file / ItemActions.php – Run after file is uploaded; $resource passed
  • user_edit_completed / UserActions.php – After user profile edit; $userId passed
  • user_forgot_password_form / oc-content/themes/user-forgot_password.php – Run inside forgot password form (Osclass 8.3+)
  • user_form / gui/user-profile.php, oc-admin/themes/omega/users/frm.php, ... – Run in user profile form
  • user_form_validation_attributes / frm/User.form.class.php – User page or user action hook
  • user_form_validation_messages / frm/User.form.class.php – User page or user action hook
  • user_form_validation_rules / frm/User.form.class.php – User page or user action hook
  • user_form_validation_top / frm/User.form.class.php – User page or user action hook
  • user_items_action / oc-content/themes/loop-single.php – User page or user action hook
  • user_items_body / oc-content/themes/loop-single.php – User page or user action hook
  • user_items_bottom / oc-content/themes/user-items.php – User page or user action hook
  • user_items_search_form_bottom / oc-content/themes/user-items.php – User page or user action hook
  • user_items_search_form_top / oc-content/themes/user-items.php – User page or user action hook
  • user_items_top / oc-content/themes/user-items.php – User page or user action hook
  • user_locale_changed / classes/Rewrite.php, controller/language.php, ... – When locale is changed; $locale_code passed
  • user_login_form / gui/user-login.php, oc-content/themes/user-login.php – Run in user login form
  • user_menu / helpers/hUtils.php – Run in user account menu
  • user_menu_after / helpers/hUtils.php – After user account menu (Osclass 8.3+)
  • user_menu_before / helpers/hUtils.php – Before user account menu (Osclass 8.3+)
  • user_menu_bottom / helpers/hUtils.php – Bottom of user account menu (Osclass 8.3+)
  • user_menu_top / helpers/hUtils.php – Top of user account menu (Osclass 8.3+)
  • user_pre_login_form / oc-content/themes/user-login.php – Run before login form fields
  • user_pre_register_form / oc-content/themes/user-register.php – Run before registration form fields
  • user_profile_form / gui/user-profile.php, oc-admin/themes/omega/users/frm.php, ... – Run before user profile update button
  • user_profile_sidebar / oc-content/themes/user-profile.php – User page or user action hook
  • user_profile_top / oc-content/themes/user-profile.php – User page or user action hook
  • user_public_profile_items_top / oc-content/themes/user-public-profile.php – User page or user action hook
  • user_public_profile_search_form_bottom / oc-content/themes/user-public-profile.php – User page or user action hook
  • user_public_profile_search_form_top / oc-content/themes/user-public-profile.php – User page or user action hook
  • user_public_profile_sidebar_bottom / oc-content/themes/user-public-profile.php – User page or user action hook
  • user_public_profile_sidebar_top / oc-content/themes/user-public-profile.php – User page or user action hook
  • user_recover_form / oc-content/themes/user-recover.php – Run inside recover password form (Osclass 8.3+)
  • user_register_completed / UserActions.php – After user registration; $userId passed
  • user_register_failed / UserActions.php – When user registration fails
  • user_register_form / gui/user-register.php, oc-admin/themes/omega/users/frm.php, ... – Run in user registration form
  • validate_user / controller/register.php – Run when user gets validated

Dynamic hook patterns

  • ajax_{hook} / controller/ajax.php – frontend ajax hook for custom action name
  • ajax_admin_{hook} / oc-admin/ajax/ajax.php – admin ajax hook for custom action name
  • feed_{name} / controller/search.php – extra feed page hook; $items passed
  • item_form_{variant} / controller/ajax.php – publish form variant hooks (top, category, description, price, location, seller, images, hook, buttons, bottom, after)
  • item_edit_{variant} / controller/ajax.php – edit form variant hooks (same variants as publish)
  • theme_delete_{theme} / oc-admin/appearance.php – run when theme is deleted
  • plugin_categories_{plugin} / oc-admin/plugins.php – plugin category assignment hook
  • {plugin_file}_configure / oc-admin/plugins.php – plugin configure link hook
  • custom_datatable_before_fetch_{id}, custom_datatable_after_fetch_{id} / classes/datatables/CustomDataTable.php
  • {entity}_bulk_{action} – admin bulk action hooks (item_bulk_, user_bulk_, comment_bulk_, page_bulk_, category_bulk_, field_bulk_, language_bulk_, media_bulk_, plugin_bulk_, logs_bulk_, ban_rules_bulk_, admin_bulk_)
  • hook_{name} / alerts.php – dynamic alert email table hook name

Extract of all known hooks from code

  • activate_comment
  • activate_item
  • activate_user
  • add_admin_toolbar_menus
  • add_category
  • add_comment
  • added_field
  • admin_admins_table
  • admin_alerts_table
  • admin_before_plugin_add
  • admin_before_plugin_bulk_action
  • admin_before_plugin_delete
  • admin_before_plugin_disable
  • admin_before_plugin_enable
  • admin_before_plugin_install
  • admin_before_plugin_uninstall
  • admin_before_theme_add
  • admin_before_theme_delete
  • admin_categories_form
  • admin_categories_form_bottom
  • admin_categories_form_top
  • admin_categories_table
  • admin_comments_table
  • admin_contact_form
  • admin_currencies_table
  • admin_dashboard_bottom
  • admin_dashboard_col1_bot
  • admin_dashboard_col1_top
  • admin_dashboard_col2_bot
  • admin_dashboard_col2_top
  • admin_dashboard_col3_bot
  • admin_dashboard_col3_top
  • admin_dashboard_setting_col1
  • admin_dashboard_setting_col2
  • admin_dashboard_setting_col3
  • admin_dashboard_setting_top
  • admin_dashboard_top
  • admin_edit_completed
  • admin_fields_form
  • admin_fields_form_bottom
  • admin_fields_form_top
  • admin_fields_table
  • admin_footer
  • admin_footer_after
  • admin_footer_before
  • admin_footer_pre
  • admin_header
  • admin_items_actions
  • admin_items_form_left_middle
  • admin_items_form_left_top
  • admin_items_form_right_top
  • admin_items_header
  • admin_items_reported_sort_columns
  • admin_items_reported_table
  • admin_items_sort_columns
  • admin_items_table
  • admin_languages_table
  • admin_login_footer
  • admin_login_header
  • admin_logs_table
  • admin_media_table
  • admin_menu
  • admin_menu_init
  • admin_page_header
  • admin_pages_table
  • admin_post
  • admin_profile_form
  • admin_rules_table
  • admin_scripts_loaded
  • admin_translations_edit_actions
  • admin_translations_edit_bottom
  • admin_translations_edit_buttons_bottom
  • admin_translations_edit_buttons_middle
  • admin_translations_edit_buttons_top
  • admin_translations_edit_catalog
  • admin_translations_edit_form
  • admin_translations_edit_options
  • admin_translations_edit_stats
  • admin_translations_edit_top
  • admin_translations_list_bottom
  • admin_translations_list_top
  • admin_users_table
  • after-main
  • after_admin_html
  • after_auto_upgrade
  • after_delete_item
  • after_delete_user
  • after_html
  • after_login
  • after_plugin_activate
  • after_plugin_deactivate
  • after_plugin_install
  • after_plugin_uninstall
  • after_rewrite_rules
  • after_search
  • after_send_email
  • after_show_pagination_admin
  • after_upgrade
  • after_username_change
  • ajax_admin_compactmode
  • ajax_custom
  • alert_change_expire
  • alert_created
  • before-content
  • before-main
  • before_add_comment
  • before_admin_html
  • before_auto_upgrade
  • before_delete_item
  • before_html
  • before_init
  • before_item_edit
  • before_login
  • before_login_admin
  • before_plugin_activate
  • before_plugin_deactivate
  • before_plugin_install
  • before_plugin_uninstall
  • before_public_profile
  • before_rewrite_rules
  • before_search
  • before_send_email
  • before_show_pagination_admin
  • before_user_delete
  • before_user_items
  • before_user_register
  • before_username_change
  • before_validating_login
  • body_class
  • change_email_confirm
  • contact_form
  • cron
  • cron_daily
  • cron_hourly
  • cron_minutely
  • cron_monthly
  • cron_weekly
  • cron_yearly
  • custom_controller
  • custom_item_query
  • custom_query
  • deactivate_comment
  • deactivate_item
  • deactivate_user
  • delete_category
  • delete_comment
  • delete_item
  • delete_locale
  • delete_resource
  • delete_user
  • disable_comment
  • disable_item
  • disable_user
  • edit_comment
  • edit_comment_reply
  • edit_page
  • edited_category
  • edited_category_order
  • edited_field
  • edited_item
  • enable_comment
  • enable_item
  • enable_user
  • feed
  • filters_manage_item_search
  • filters_manage_user_search
  • footer
  • footer_after
  • footer_links
  • footer_pre
  • footer_top
  • header
  • header_after
  • header_bottom
  • header_links
  • header_top
  • help_box
  • highlight_class
  • home_bottom
  • home_latest
  • home_premium
  • home_search_after
  • home_search_bottom
  • home_search_pre
  • home_search_top
  • home_top
  • hook_alert_email_daily
  • hook_alert_email_hourly
  • hook_alert_email_instant
  • hook_alert_email_weekly
  • hook_email_admin_new_item
  • hook_email_admin_new_user
  • hook_email_alert_validation
  • hook_email_comment_validated
  • hook_email_contact_user
  • hook_email_item_inquiry
  • hook_email_item_validation
  • hook_email_item_validation_non_register_user
  • hook_email_new_admin
  • hook_email_new_comment_admin
  • hook_email_new_comment_reply_admin
  • hook_email_new_comment_reply_user
  • hook_email_new_comment_user
  • hook_email_new_email
  • hook_email_new_item_non_register_user
  • hook_email_send_friend
  • hook_email_user_forgot_password
  • hook_email_user_registration
  • hook_email_user_validation
  • hook_email_warn_expiration
  • init
  • init_admin
  • init_admin_insecure
  • init_ajax
  • init_contact
  • init_custom
  • init_item
  • init_language
  • init_login
  • init_main
  • init_page
  • init_register
  • init_user
  • init_user_non_secure
  • inside-main
  • item_bottom
  • item_comment
  • item_comment_form
  • item_contact
  • item_contact_form
  • item_decrease_stat
  • item_description_after
  • item_detail
  • item_edit
  • item_edit_after
  • item_edit_bottom
  • item_edit_buttons
  • item_edit_category
  • item_edit_description
  • item_edit_hook
  • item_edit_images
  • item_edit_location
  • item_edit_price
  • item_edit_seller
  • item_edit_top
  • item_form
  • item_form_after
  • item_form_bottom
  • item_form_buttons
  • item_form_category
  • item_form_description
  • item_form_hook
  • item_form_images
  • item_form_location
  • item_form_new_validation_attributes
  • item_form_new_validation_messages
  • item_form_new_validation_rules
  • item_form_new_validation_top
  • item_form_price
  • item_form_seller
  • item_form_top
  • item_form_validation_attributes
  • item_form_validation_messages
  • item_form_validation_rules
  • item_form_validation_top
  • item_images
  • item_increase_stat
  • item_loop_bottom
  • item_loop_description
  • item_loop_title
  • item_loop_top
  • item_meta
  • item_premium_off
  • item_premium_on
  • item_publish_after
  • item_publish_bottom
  • item_publish_buttons
  • item_publish_category
  • item_publish_description
  • item_publish_hook
  • item_publish_images
  • item_publish_location
  • item_publish_price
  • item_publish_seller
  • item_publish_top
  • item_sidebar_bottom
  • item_sidebar_top
  • item_sidebar_user
  • item_spam_off
  • item_spam_on
  • item_title
  • item_top
  • location
  • login_admin
  • login_admin_form
  • logout
  • logout_admin
  • manage_item_search_conditions
  • page_meta
  • post_item
  • post_item_contact_post
  • post_item_send_friend_post
  • posted_item
  • pre_contact_post
  • pre_item_add
  • pre_item_add_comment_post
  • pre_item_contact_post
  • pre_item_delete_comment_post
  • pre_item_edit
  • pre_item_post
  • pre_item_send_friend_post
  • pre_send_email
  • pre_user_post
  • regenerate_image
  • regenerated_image
  • register_email_taken
  • render_admintoolbar
  • render_admintoolbar_after
  • render_admintoolbar_pre
  • renderplugin_controller
  • renew_item
  • rss_after
  • rss_before
  • rss_item
  • scripts_loaded
  • search
  • search_ads_listing_medium
  • search_ads_listing_top
  • search_conditions
  • search_engine_after_params_set
  • search_form
  • search_items_bottom
  • search_items_filter
  • search_items_top
  • search_make_sql
  • search_make_sql_premium
  • search_sidebar_after
  • search_sidebar_bottom
  • search_sidebar_location
  • search_sidebar_pre
  • search_sidebar_top
  • show_item
  • sql_search_conditions_before
  • static_pages_list_all
  • structured_data_footer
  • structured_data_header
  • theme_activate
  • theme_delete_sigma
  • tinymce_item_script_after
  • tinymce_item_script_bottom
  • tinymce_item_script_top
  • tinymce_user_script_after
  • tinymce_user_script_bottom
  • tinymce_user_script_top
  • uploaded_file
  • user_edit_completed
  • user_forgot_password_form
  • user_form
  • user_form_validation_attributes
  • user_form_validation_messages
  • user_form_validation_rules
  • user_form_validation_top
  • user_items_action
  • user_items_body
  • user_items_bottom
  • user_items_search_form_bottom
  • user_items_search_form_top
  • user_items_top
  • user_locale_changed
  • user_login_form
  • user_menu
  • user_menu_after
  • user_menu_before
  • user_menu_bottom
  • user_menu_top
  • user_pre_login_form
  • user_pre_register_form
  • user_profile_form
  • user_profile_sidebar
  • user_profile_top
  • user_public_profile_items_top
  • user_public_profile_search_form_bottom
  • user_public_profile_search_form_top
  • user_public_profile_sidebar_bottom
  • user_public_profile_sidebar_top
  • user_recover_form
  • user_register_completed
  • user_register_failed
  • user_register_form
  • validate_user