Hooks
Hooks are one of the main ways plugins can alter and extend Omeka. This page is a reference list of all the available hooks Omeka provides for plugins to use. See Understanding Hooks for general information about using hooks in plugins.
All Hooks
- <model>_browse_sql
- activate
- add_<model>_tag
- admin_<type>_form
- admin_<type>_panel_buttons
- admin_<type>_panel_fields
- admin_appearance_settings_form
- admin_collections_browse
- admin_collections_form
- admin_collections_show
- admin_collections_show_sidebar
- admin_dashboard
- admin_files_form
- admin_files_show
- admin_files_show_sidebar
- admin_footer
- admin_form_files
- admin_head
- admin_item_types_browse
- admin_item_types_form
- admin_item_types_show
- admin_items_batch_edit_form
- admin_items_browse
- admin_items_browse_detailed_each
- admin_items_browse_simple_each
- admin_items_form_files
- admin_items_form_tags
- admin_items_search
- admin_items_show
- admin_items_show_sidebar
- admin_settings_form
- admin_themes_browse_each
- after_delete_<model>
- after_delete_record
- after_ingest_file
- after_save_<model>
- after_save_record
- before_delete_<model>
- before_delete_record
- before_save_<model>
- before_save_record
- config
- config_form
- deactivate
- define_acl
- define_routes
- html_purifier_form_submission
- initialize
- install
- items_batch_edit_custom
- make_<model>_featured
- make_<model>_not_featured
- make_<model>_not_public
- make_<model>_public
- navigation_form
- public_body
- public_collections_browse
- public_collections_browse_each
- public_collections_show
- public_content_top
- public_footer
- public_head
- public_header
- public_home
- public_items_browse
- public_items_browse_each
- public_items_search
- public_items_show
- remove_<model>_tag
- search_sql
- uninstall
- uninstall_message
- upgrade
- users_form
Plugin-specific
Application
Database
Records
- <model>_browse_sql
- add_<model>_tag
- after_delete_<model>
- after_save_<model>
- before_delete_<model>
- before_save_<model>
- make_<model>_featured
- make_<model>_not_featured
- make_<model>_not_public
- make_<model>_public
- remove_<model>_tag
- after_delete_record
- after_save_record
- before_delete_record
- before_save_record
Item Records
- admin_item_types_browse
- admin_item_types_form
- admin_item_types_show
- admin_items_batch_edit_form
- admin_items_browse
- admin_items_browse_detailed_each
- admin_items_browse_simple_each
- admin_items_form_files
- admin_items_form_tags
- admin_items_search
- admin_items_show
- admin_items_show_sidebar
- items_batch_edit_custom
- public_items_browse
- public_items_browse_each
- public_items_search
- public_items_show
Collection Records
Users
Admin Theme
- admin_<type>_form
- admin_<type>_panel_buttons
- admin_<type>_panel_fields
- admin_appearance_settings_form
- admin_collections_browse
- admin_collections_form
- admin_collections_show
- admin_collections_show_sidebar
- admin_dashboard
- admin_files_form
- admin_files_show
- admin_files_show_sidebar
- admin_footer
- admin_form_files
- admin_head
- admin_item_types_browse
- admin_item_types_form
- admin_item_types_show
- admin_items_batch_edit_form
- admin_items_browse
- admin_items_browse_detailed_each
- admin_items_browse_simple_each
- admin_items_form_files
- admin_items_form_tags
- admin_items_search
- admin_items_show
- admin_items_show_sidebar
- admin_settings_form
- admin_themes_browse_each