Skip to content
You are reading the docs for ShopClass 7.1.0.beta8, still in development. Read the stable docs.

Hooks and filters

A hook is a named place in core where your code can run. An action lets you do something at that moment. A filter lets you change a value on its way past.

// Do something when an item is published.
osc_add_hook('item_post', 'my_plugin_notify');
// Change a value before core uses it.
osc_add_filter('item_title', 'my_plugin_shorten_title');

Core fires the hook; you register a callback for it.

An action is fired for its side effects and returns nothing.

osc_add_hook('after_item_post', function ($item) {
error_log('New item: ' . $item['pk_i_id']);
});

Whatever your callback returns is discarded.

A filter threads one value through every callback. Your callback must return the value, changed or not. Return nothing and the value becomes null for everyone after you.

osc_add_filter('item_title', function ($title, $item) {
return mb_strimwidth($title, 0, 60, '…');
});

The filtered value is always the first argument. Anything else is context.

sql_search_conditions runs twice per search: once for the page list, then for the count list. The count list can carry different text for a core condition (an IN form where the page list has a per-row test), so match core conditions by text with care.

Lower runs first. The default is 5.

osc_add_hook('item_post', 'runs_early', 1);
osc_add_hook('item_post', 'runs_late', 50);
osc_add_hook('item_post', 'runs_before_core', -10);

Any whole number works, negative included.

::: warning Before 6.4.0 Priority was a fixed range of 0 to 10. A callback registered outside it was stored and never ran, with no warning. If your plugin used a priority above 10, it starts running on 6.4.0. :::

Two callbacks at the same priority run in the order they were registered. Never write a hook that only works because another plugin chose a particular priority.

osc_add_hook() and osc_add_filter() are the same function. There is no separate filter table.

That means a name used for both is one list of callbacks, called with two different argument shapes: the action’s callbacks receive a filter’s value as their first argument, and the filter loses its value to a callback that returns nothing. No name in core does this, and yours should not either.

osc_remove_hook('item_post', 'my_plugin_notify');
osc_remove_filter('item_title', 'my_plugin_shorten_title');

The callback must match what you registered. A closure cannot be removed unless you kept a reference to it.

These rules apply to new hooks. Every name core already fires keeps its spelling forever, because plugins on installs we cannot see depend on it. So some existing names do not follow the rules below.

{subject}_{event}, lowercase, words joined by underscores.

  • Subject first. item_delete_before, not before_delete_item.
  • Admin-only hooks start with admin_. Public hooks carry no prefix.
  • Lifecycle words come last: _before and _after.
  • A filter is named for what it returns, not for the moment: item_title, search_query.
  • No names built at runtime. item_bulk_{$action} cannot be documented, found by search, or pinned by a test. Fire one fixed name and pass the variable part as an argument.
  • A filter’s first argument is the value being filtered. Context follows.
  • An action’s arguments run most specific first: the entity, then its context.
  • Pass ids and records, not rendered HTML, unless the hook exists to filter HTML.
  • Arguments are append-only. Adding one to the end is safe. Reordering or removing one is not: a callback written for the old order keeps running and silently receives the wrong thing.
  • An action returns nothing.
  • A filter returns its value, always.
  • One name is never both.

Hooks that also run outside a page request

Section titled “Hooks that also run outside a page request”

search_conditions fires on the search page and again whenever a saved alert runs: in the alert cron, on the user’s alerts page and on the admin user screen. Its third argument says which: 'request' or 'alert'. During an alert, Params::getParam() returns the alert’s saved values and Search::getInstance() is the alert’s search. A callback that sends headers, reads the session or prints must return early when the context is 'alert'.

To store your own filter with an alert, add it with the alert_search_params filter, then read it back with Params::getParam() in your search_conditions callback.

search_results lets a plugin answer a search itself, from an outside search engine. Return null to let core run the search, or array('items' => $rows, 'total' => $count), with an optional 'model' Search. Core then skips its own result cache. Arguments: null, the Search, the search parameters, the context ('request' for the search page, 'api' for the REST API, 'admin' for the admin Listings screen) and $bare. When $bare is true, return plain t_item rows: the caller adds the details itself. When core counts a search page or API search past the search count limit, the total plugins and themes see is that limit. Read what to search for with $search->filters() (7.0+). It returns a SearchFilters copy with categories, priceMin, priceMax, pattern, locales, withPicture, onlyPremium, locations (city_areas, cities, regions, countries, each a list of ['by' => 'id'|'code'|'name', 'value' => …]), radius (lat, lng, km), userIds, order (a list of ['table', 'column', 'direction']), meta, offset and perPage. pattern and name values are the visitor’s text: escape or bind them. When rawSql is true, return null: the search holds SQL your engine cannot run.

When liveOnly is false, the search also covers hidden, disabled, spam and expired listings, as the admin Listings screen does. Return null then, unless your index holds those listings and you match these too: flags (b_active, b_enabled, b_spam, b_premium, each 0 or 1), itemId (one listing; when set, ignore every other filter) and contactEmail (the exact contact e-mail). On that screen manage_item_search_conditions runs first, so a plugin filter added there sets rawSql, and only items and total of the answer are used.

meta holds the custom-field filters core applied, by field id. Each has the field’s storage type and an op:

Type op Matches when
TEXT, TEXTAREA, URL contains, value the value contains value (core uses LIKE, so % and _ act as wildcards)
DROPDOWN, RADIO eq, value the value is value
CHECKBOX checked the value is 1
DATE between, from, to the value is in that day (unix times, both ends included)
DATEINTERVAL covers, from, to the stored range starts on or before from and ends on or after to
NUMBER between, from, to (floats) the value is in the range, both ends included

A field not searchable in the asked categories, or an empty value, is not in meta. NUMBER and DATEINTERVAL need both ends, and an end of 0 drops the filter. Every value is the visitor’s text: escape or bind it.

A plugin adds its own custom-field filter with $search->addFieldFilter(int $fieldId, array $filter, string $condition, ?string $countCondition = null). $condition is SQL that MySQL runs, as with addConditions(): escape what goes into it. $filter uses the shape in the table above and must describe exactly what $condition does, because a backend trusts it. Use one call per field: a second call replaces the typed rule but keeps both conditions, so rawSql turns true and backends leave the search to MySQL. $countCondition is optional: the SQL the result count runs instead of $condition, for a form that is faster as a subquery. addCondition() takes the same text as its third argument. A custom-field condition added with plain addConditions() counts as raw SQL. Saved alerts never reach this filter. The answer may also carry 'snippets' (listing id => text with the searched words in <mark>), 'facets' (array('category' => array(id => count))), 'suggestion' (a corrected query) and 'relaxed' (true when a fuzzy search found the results). Core keeps only <mark> in a snippet. Themes read these with osc_item_search_snippet(), osc_search_category_counts(), osc_search_suggestion() and osc_search_relaxed(); the REST API sends a snippet on each listing and the rest in meta.

item_related_ids lets a plugin pick the listings osc_related_listings() and GET /listings/{id}/related show. Arguments: null, the listing id, the limit and the filters (same_category, same_country, same_region, with_photos, premium_only). Return listing ids, best first, or null for core’s choice. Core drops the listing itself and any that are not live.

search_suggestions answers GET /search/suggest, the search box list while someone types (it is not the search itself; that is search_results). Arguments: null, what was typed, the limit and the context ('api'). Return null for core’s title match, or array('listings' => array(ids, best first), 'searches' => array(array('term' => ..., 'count' => ...))). Either key may be left out; an empty list means “nothing to suggest”, not core’s choice. Core drops listings that are not live, strips tags from terms and adds each term’s count_label. Core itself never suggests searches.

category_suggestions answers GET /search/categories, the post form’s category hint. Arguments: null, the listing title and the limit (3). Return category ids, best first, or null for core’s choice. Core drops unknown and disabled categories.

page_cache_purge fires once at the end of a request that changed something every public page shows: the theme, settings, a plugin, a category. It runs after the response has gone, and on the command line too. Its one argument is the list of reasons, such as array('theme', 'plugin'). Clear your cache there. Do not print, send headers or read the session. To ask for one yourself, call osc_purge_page_cache('my_reason'). See the caching contract.

admin_billing_carriers (7.1+) lists the carriers the admin order screen suggests in its Carrier box. A typed listener takes a CarriersListing and calls add('Blue Dart'); an old filter gets the list of names and returns it. Blank names and repeats are dropped.

item_increase_stat and item_decrease_stat fire after the transaction commits, when the caller is in one. They come after posted_item and edited_item, not before, and a post or edit that is rolled back never fires them. Do not rely on their order against those hooks.

plugin_bulk_filter (7.1+) gets the Plugins table’s bulk-action options, each array('value' => ..., 'label' => ..., 'data-dialog-content' => ...). Add your own and handle it on plugin_bulk_action, which gets the option’s value and the selected plugin files. It fires only with a selection and a valid CSRF token. plugin_bulk_enable, plugin_bulk_disable and plugin_bulk_uninstall fire after core’s own bulk actions, with the plugins that changed.

Every name core fires, with where it is fired and what it passes.

Core fires 653 names. Generated from the source; do not edit by hand.

Name Kind Arguments Fired at
admin_alerts_table action $dummy oc-includes/osclass/classes/datatables/AlertsDataTable.php
admin_base_url filter $path, $with_index oc-includes/osclass/helpers/hDefines.php
admin_billing_carriers event CarriersListing oc-includes/classes/billing/event/CarriersListing.php
admin_body_class filter array oc-admin/themes/modern/parts/header.php
admin_bulk_filter filter $bulk_options oc-includes/osclass/classes/controller/admin/CAdminAdmins.php
admin_comments_table action $dummy oc-includes/osclass/classes/datatables/CommentsDataTable.php
admin_contact_form action none oc-includes/osclass/gui/contact-content.php
admin_content_footer action none oc-admin/themes/modern/parts/footer.php
admin_date_format filter $format, $dateOnly oc-includes/osclass/helpers/hUtils.php
admin_edit_completed action $id, updated oc-includes/osclass/classes/controller/admin/CAdminAdmins.php
admin_favicons filter $favicons oc-admin/themes/modern/functions.php
admin_footer action none oc-admin/themes/modern/parts/footer.php
admin_forgot_form action none oc-admin/gui/forgot_password.php
admin_forgot_password_form action none oc-admin/gui/recover.php
admin_form_after_save action $pageId, $exposed, $savedId oc-includes/osclass/helpers/hSettings.php
admin_form_before_save filter $exposed, $pageId oc-includes/osclass/helpers/hSettings.php
admin_form_render_field filter $field, $pageId, $values oc-includes/classes/admin/ui/SettingsForm.php
admin_form_save_failed action $pageId, $errors, array oc-includes/osclass/helpers/hSettings.php
admin_header action none oc-admin/themes/modern/parts/header.php
admin_item_description filter $description, $itemRecord, $itemLocale oc-admin/themes/modern/items/frm.php
admin_item_title filter $title, $itemRecord, $itemLocale oc-admin/themes/modern/items/frm.php
admin_items_reported_table action $dummy oc-includes/osclass/classes/datatables/ItemsDataTable.php
admin_items_table action $dummy oc-includes/osclass/classes/datatables/ItemsDataTable.php
admin_keyword_block_table action $dummy oc-includes/osclass/classes/datatables/KeywordBlocksDataTable.php
admin_locations_drawer_fields action $level, null oc-admin/themes/modern/settings/locations/form.php
admin_locations_row_actions filter array, $level, $row oc-admin/themes/modern/settings/locations/list.php
admin_login_footer action none oc-admin/gui/main.php
admin_login_form action none oc-admin/gui/login.php
admin_login_header action none oc-admin/gui/main.php
admin_logs_table action $dummy oc-includes/osclass/classes/datatables/LogsDataTable.php
admin_media_table action $dummy oc-includes/osclass/classes/datatables/MediaDataTable.php
admin_menu_init action none oc-includes/osclass/classes/AdminMenu.php
admin_page_description filter $description, $page, $pageLocale oc-admin/themes/modern/pages/frm.php
admin_page_header action none oc-admin/themes/modern/parts/header.php
admin_page_routes filter $core oc-includes/classes/core/routing/PageDispatcher.php
admin_page_title filter $title, $page, $pageLocale oc-admin/themes/modern/pages/frm.php
admin_pages_table action $dummy oc-includes/osclass/classes/datatables/PagesDataTable.php
admin_payment_keys_missing event PaymentKeysMissing oc-includes/classes/billing/event/PaymentKeysMissing.php
admin_payment_test_modes event PaymentTestModes oc-includes/classes/billing/event/PaymentTestModes.php
admin_post action none oc-includes/osclass/classes/controller/admin/CAdminPlugins.php
admin_profile_form action __get oc-includes/classes/admin/form/AdminAccountForm.php
admin_rules_table action $dummy oc-includes/osclass/classes/datatables/BanRulesDataTable.php
admin_scripts_loaded action none oc-includes/osclass/helpers/hTheme.php
admin_signout_all_after action $adminId oc-includes/classes/user/auth/SignOut.php
admin_title filter page_title oc-admin/themes/modern/parts/header.php
admin_user_profile_info filter s_info, pk_i_id, fk_c_locale_code oc-includes/osclass/classes/controller/admin/CAdminUsers.php
admin_users_table action $dummy oc-includes/osclass/classes/datatables/UsersDataTable.php
init_admin action none oc-includes/osclass/classes/controller/AdminSecBaseModel.php
init_admin_admins action none oc-includes/osclass/classes/controller/admin/CAdminAdmins.php
init_admin_billing action none oc-includes/osclass/classes/controller/admin/CAdminBilling.php
init_admin_categories action none oc-includes/osclass/classes/controller/admin/CAdminCategories.php
init_admin_comments action none oc-includes/osclass/classes/controller/admin/CAdminItemComments.php
init_admin_emails action none oc-includes/osclass/classes/controller/admin/CAdminEmails.php
init_admin_fields action none oc-includes/osclass/classes/controller/admin/CAdminCFields.php
init_admin_insecure action none oc-includes/osclass/classes/controller/AdminBaseModel.php
init_admin_items action none oc-includes/osclass/classes/controller/admin/CAdminItems.php
init_admin_languages action none oc-includes/osclass/classes/controller/admin/CAdminLanguages.php
init_admin_login action none oc-includes/osclass/classes/controller/admin/CAdminLogin.php
init_admin_main action none oc-includes/osclass/classes/controller/admin/CAdminMain.php
init_admin_media action none oc-includes/osclass/classes/controller/admin/CAdminMedia.php
init_admin_pages action none oc-includes/osclass/classes/controller/admin/CAdminPages.php
init_admin_plugins action none oc-includes/osclass/classes/controller/admin/CAdminPlugins.php
init_admin_settings action none oc-includes/osclass/classes/controller/admin/CAdminSettings.php
init_admin_settings_advanced action none oc-includes/osclass/classes/controller/admin/settings/CAdminSettingsAdvanced.php
init_admin_settings_billing action none oc-includes/osclass/classes/controller/admin/settings/CAdminSettingsBilling.php
init_admin_settings_comments action none oc-includes/osclass/classes/controller/admin/settings/CAdminSettingsComments.php
init_admin_settings_currencies action none oc-includes/osclass/classes/controller/admin/settings/CAdminSettingsCurrencies.php
init_admin_settings_custom action none oc-includes/osclass/classes/controller/admin/settings/CAdminSettingsCustom.php
init_admin_settings_keyword_block action none oc-includes/osclass/classes/controller/admin/settings/CAdminSettingsKeywordBlock.php
init_admin_settings_latest action none oc-includes/osclass/classes/controller/admin/settings/CAdminSettingsLatestSearches.php
init_admin_settings_locations action none oc-includes/osclass/classes/controller/admin/settings/CAdminSettingsLocations.php
init_admin_settings_mail action none oc-includes/osclass/classes/controller/admin/settings/CAdminSettingsMailserver.php
init_admin_settings_main action none oc-includes/osclass/classes/controller/admin/settings/CAdminSettingsMain.php
init_admin_settings_media action none oc-includes/osclass/classes/controller/admin/settings/CAdminSettingsMedia.php
init_admin_settings_permalinks action none oc-includes/osclass/classes/controller/admin/settings/CAdminSettingsPermalinks.php
init_admin_settings_sitemap action none oc-includes/osclass/classes/controller/admin/settings/CAdminSettingsSitemap.php
init_admin_settings_spam action none oc-includes/osclass/classes/controller/admin/settings/CAdminSettingsSpamnBots.php
init_admin_settings_storage action none oc-includes/osclass/classes/controller/admin/settings/CAdminSettingsStorage.php
init_admin_stats action none oc-includes/osclass/classes/controller/admin/CAdminStats.php
init_admin_tools action none oc-includes/osclass/classes/controller/admin/CAdminTools.php
init_admin_upgrade action none oc-includes/osclass/classes/controller/admin/CAdminUpgrade.php
init_admin_users action none oc-includes/osclass/classes/controller/admin/CAdminUsers.php
Name Kind Arguments Fired at
add_category action $id oc-includes/classes/listing/category/CategoryService.php
after_delete_category action $pkInt oc-includes/osclass/classes/model/Category.php
api_category filter $data, $context oc-includes/classes/api/serializer/CategorySerializer.php
category_suggestions filter null, $title, value oc-includes/classes/search/SearchSuggestions.php
delete_category action $pkInt oc-includes/osclass/classes/model/Category.php
edited_category action $id, $outcome oc-includes/classes/listing/category/CategoryService.php
edited_category_order action 1 oc-includes/classes/listing/category/CategoryService.php
Name Kind Arguments Fired at
activate_comment action $id oc-includes/classes/listing/moderation/CommentModeration.php
add_comment action $id oc-includes/classes/content/comment/CommentService.php
before_add_comment action $row oc-includes/classes/content/comment/CommentService.php
comment_bulk_filter filter $bulk_options oc-includes/osclass/classes/controller/admin/CAdminItemComments.php
comment_form action none oc-includes/osclass/gui/item-comments-content.php
comments_processing_row filter $row, $aRow oc-includes/osclass/classes/datatables/CommentsDataTable.php
datatable_comment_class filter array, value, $row oc-admin/themes/modern/comments/index.php
deactivate_comment action $id oc-includes/classes/listing/moderation/CommentModeration.php
delete_comment action $commentId oc-includes/classes/content/comment/CommentService.php
disable_comment action $id oc-includes/classes/listing/moderation/CommentModeration.php
edit_comment action $id oc-includes/classes/listing/moderation/CommentModeration.php
enable_comment action $id oc-includes/classes/listing/moderation/CommentModeration.php
Name Kind Arguments Fired at
email_admin_new_item_description filter s_text, $item oc-includes/classes/core/mail/CoreEmails.php
email_admin_new_item_description_after filter mail_beauty, $item oc-includes/classes/core/mail/CoreEmails.php
email_admin_new_item_title filter s_title, $item oc-includes/classes/core/mail/CoreEmails.php
email_admin_new_item_title_after filter mail_beauty, $item oc-includes/classes/core/mail/CoreEmails.php
email_admin_new_order_description event MailComposing oc-includes/classes/core/mail/event/MailComposing.php
email_admin_new_order_description_after event MailComposing oc-includes/classes/core/mail/event/MailComposing.php
email_admin_new_order_title event MailComposing oc-includes/classes/core/mail/event/MailComposing.php
email_admin_new_order_title_after event MailComposing oc-includes/classes/core/mail/event/MailComposing.php
email_admin_user_registration_title filter s_title, $user oc-includes/classes/core/mail/CoreEmails.php
email_admin_user_registration_title_after filter mail_beauty, $user oc-includes/classes/core/mail/CoreEmails.php
email_admin_user_regsitration_description filter s_text, $user oc-includes/classes/core/mail/CoreEmails.php
email_admin_user_regsitration_description_after filter mail_beauty, $user oc-includes/classes/core/mail/CoreEmails.php
email_after_auto_upgrade_description filter $body, $result oc-includes/classes/core/mail/CoreEmails.php
email_after_auto_upgrade_description_after filter mail_beauty, $result oc-includes/classes/core/mail/CoreEmails.php
email_after_auto_upgrade_title filter $title, $result oc-includes/classes/core/mail/CoreEmails.php
email_after_auto_upgrade_title_after filter mail_beauty, $result oc-includes/classes/core/mail/CoreEmails.php
email_alert_validation_description filter s_text, $alert, $email, $secret oc-includes/classes/core/mail/CoreEmails.php
email_alert_validation_description_after filter mail_beauty, $alert, $email, $secret oc-includes/classes/core/mail/CoreEmails.php
email_alert_validation_title filter s_title, $alert, $email, $secret oc-includes/classes/core/mail/CoreEmails.php
email_alert_validation_title_after filter mail_beauty, $alert, $email, $secret oc-includes/classes/core/mail/CoreEmails.php
email_comment_validated_description filter s_text, $aComment oc-includes/classes/core/mail/CoreEmails.php
email_comment_validated_description_after filter mail_beauty, $aComment oc-includes/classes/core/mail/CoreEmails.php
email_comment_validated_title filter s_title, $aComment oc-includes/classes/core/mail/CoreEmails.php
email_comment_validated_title_after filter mail_beauty, $aComment oc-includes/classes/core/mail/CoreEmails.php
email_description filter apply_filter oc-includes/classes/core/mail/CoreEmails.php
email_item_inquiry_description filter s_text, $aItem oc-includes/classes/core/mail/CoreEmails.php
email_item_inquiry_description_after filter mail_beauty, $aItem oc-includes/classes/core/mail/CoreEmails.php
email_item_inquiry_title filter s_title, $aItem oc-includes/classes/core/mail/CoreEmails.php
email_item_inquiry_title_after filter mail_beauty, $aItem oc-includes/classes/core/mail/CoreEmails.php
email_item_validation_description filter s_text, $item oc-includes/classes/core/mail/CoreEmails.php
email_item_validation_description_after filter mail_beauty, $item oc-includes/classes/core/mail/CoreEmails.php
email_item_validation_non_register_user_description filter s_text, $item oc-includes/classes/core/mail/CoreEmails.php
email_item_validation_non_register_user_description_after filter mail_beauty, $item oc-includes/classes/core/mail/CoreEmails.php
email_item_validation_non_register_user_title filter s_title, $item oc-includes/classes/core/mail/CoreEmails.php
email_item_validation_non_register_user_title_after filter mail_beauty, $item oc-includes/classes/core/mail/CoreEmails.php
email_item_validation_title filter s_title, $item oc-includes/classes/core/mail/CoreEmails.php
email_item_validation_title_after filter mail_beauty, $item oc-includes/classes/core/mail/CoreEmails.php
email_legend_words filter $array, s_internal_name oc-includes/osclass/classes/EmailVariables.php
email_listing_unpaid_reminder_description event MailComposing oc-includes/classes/core/mail/event/MailComposing.php
email_listing_unpaid_reminder_description_after event MailComposing oc-includes/classes/core/mail/event/MailComposing.php
email_listing_unpaid_reminder_title event MailComposing oc-includes/classes/core/mail/event/MailComposing.php
email_listing_unpaid_reminder_title_after event MailComposing oc-includes/classes/core/mail/event/MailComposing.php
email_new_admin_description filter s_text, $data oc-includes/classes/core/mail/CoreEmails.php
email_new_admin_description_after filter mail_beauty, $data oc-includes/classes/core/mail/CoreEmails.php
email_new_admin_title filter s_title, $data oc-includes/classes/core/mail/CoreEmails.php
email_new_admin_title_after filter mail_beauty, $data oc-includes/classes/core/mail/CoreEmails.php
email_new_comment_admin_description filter s_text, $aItem oc-includes/classes/core/mail/CoreEmails.php
email_new_comment_admin_description_after filter mail_beauty, $aItem oc-includes/classes/core/mail/CoreEmails.php
email_new_comment_admin_title filter s_title, $aItem oc-includes/classes/core/mail/CoreEmails.php
email_new_comment_admin_title_after filter mail_beauty, $aItem oc-includes/classes/core/mail/CoreEmails.php
email_new_comment_user_description filter s_text, $aItem oc-includes/classes/core/mail/CoreEmails.php
email_new_comment_user_description_after filter mail_beauty, $aItem oc-includes/classes/core/mail/CoreEmails.php
email_new_comment_user_title filter s_title, $aItem oc-includes/classes/core/mail/CoreEmails.php
email_new_comment_user_title_after filter mail_beauty, $aItem oc-includes/classes/core/mail/CoreEmails.php
email_new_email_description filter s_text, $new_email, $validation_url oc-includes/classes/core/mail/CoreEmails.php
email_new_email_description_after filter mail_beauty, $new_email, $validation_url oc-includes/classes/core/mail/CoreEmails.php
email_new_email_title filter s_title, $new_email, $validation_url oc-includes/classes/core/mail/CoreEmails.php
email_new_email_title_after filter mail_beauty, $new_email, $validation_url oc-includes/classes/core/mail/CoreEmails.php
email_new_item_non_register_user_description filter s_text, $item oc-includes/classes/core/mail/CoreEmails.php
email_new_item_non_register_user_description_after filter mail_beauty, $item oc-includes/classes/core/mail/CoreEmails.php
email_new_item_non_register_user_title filter s_title, $item oc-includes/classes/core/mail/CoreEmails.php
email_new_item_non_register_user_title_after filter mail_beauty, $item oc-includes/classes/core/mail/CoreEmails.php
email_new_message_description event MailComposing oc-includes/classes/core/mail/event/MailComposing.php
email_new_message_description_after event MailComposing oc-includes/classes/core/mail/event/MailComposing.php
email_new_message_title event MailComposing oc-includes/classes/core/mail/event/MailComposing.php
email_new_message_title_after event MailComposing oc-includes/classes/core/mail/event/MailComposing.php
email_order_cancelled_description event MailComposing oc-includes/classes/core/mail/event/MailComposing.php
email_order_cancelled_description_after event MailComposing oc-includes/classes/core/mail/event/MailComposing.php
email_order_cancelled_title event MailComposing oc-includes/classes/core/mail/event/MailComposing.php
email_order_cancelled_title_after event MailComposing oc-includes/classes/core/mail/event/MailComposing.php
email_order_delivered_description event MailComposing oc-includes/classes/core/mail/event/MailComposing.php
email_order_delivered_description_after event MailComposing oc-includes/classes/core/mail/event/MailComposing.php
email_order_delivered_title event MailComposing oc-includes/classes/core/mail/event/MailComposing.php
email_order_delivered_title_after event MailComposing oc-includes/classes/core/mail/event/MailComposing.php
email_order_part_refunded_description event MailComposing oc-includes/classes/core/mail/event/MailComposing.php
email_order_part_refunded_description_after event MailComposing oc-includes/classes/core/mail/event/MailComposing.php
email_order_part_refunded_title event MailComposing oc-includes/classes/core/mail/event/MailComposing.php
email_order_part_refunded_title_after event MailComposing oc-includes/classes/core/mail/event/MailComposing.php
email_order_part_shipped_description event MailComposing oc-includes/classes/core/mail/event/MailComposing.php
email_order_part_shipped_description_after event MailComposing oc-includes/classes/core/mail/event/MailComposing.php
email_order_part_shipped_title event MailComposing oc-includes/classes/core/mail/event/MailComposing.php
email_order_part_shipped_title_after event MailComposing oc-includes/classes/core/mail/event/MailComposing.php
email_order_placed_description event MailComposing oc-includes/classes/core/mail/event/MailComposing.php
email_order_placed_description_after event MailComposing oc-includes/classes/core/mail/event/MailComposing.php
email_order_placed_title event MailComposing oc-includes/classes/core/mail/event/MailComposing.php
email_order_placed_title_after event MailComposing oc-includes/classes/core/mail/event/MailComposing.php
email_order_refunded_description event MailComposing oc-includes/classes/core/mail/event/MailComposing.php
email_order_refunded_description_after event MailComposing oc-includes/classes/core/mail/event/MailComposing.php
email_order_refunded_title event MailComposing oc-includes/classes/core/mail/event/MailComposing.php
email_order_refunded_title_after event MailComposing oc-includes/classes/core/mail/event/MailComposing.php
email_order_shipped_description event MailComposing oc-includes/classes/core/mail/event/MailComposing.php
email_order_shipped_description_after event MailComposing oc-includes/classes/core/mail/event/MailComposing.php
email_order_shipped_title event MailComposing oc-includes/classes/core/mail/event/MailComposing.php
email_order_shipped_title_after event MailComposing oc-includes/classes/core/mail/event/MailComposing.php
email_product_alert_description event MailComposing oc-includes/classes/core/mail/event/MailComposing.php
email_product_alert_description_after event MailComposing oc-includes/classes/core/mail/event/MailComposing.php
email_product_alert_title event MailComposing oc-includes/classes/core/mail/event/MailComposing.php
email_product_alert_title_after event MailComposing oc-includes/classes/core/mail/event/MailComposing.php
email_send_friend_description filter s_text, $aItem oc-includes/classes/core/mail/CoreEmails.php
email_send_friend_description_after filter mail_beauty, $aItem oc-includes/classes/core/mail/CoreEmails.php
email_send_friend_title filter s_title, $aItem oc-includes/classes/core/mail/CoreEmails.php
email_send_friend_title_after filter mail_beauty, $aItem oc-includes/classes/core/mail/CoreEmails.php
email_title filter apply_filter oc-includes/classes/core/mail/CoreEmails.php
email_user_forgot_pass_word_title filter s_title, $user, $password_url oc-includes/classes/core/mail/CoreEmails.php
email_user_forgot_pass_word_title_after filter mail_beauty, $user, $password_url oc-includes/classes/core/mail/CoreEmails.php
email_user_forgot_password_description filter s_text, $user, $password_url oc-includes/classes/core/mail/CoreEmails.php
email_user_forgot_password_description_after filter mail_beauty, $user, $password_url oc-includes/classes/core/mail/CoreEmails.php
email_user_registration_description filter s_text, $user oc-includes/classes/core/mail/CoreEmails.php
email_user_registration_description_after filter mail_beauty, $user oc-includes/classes/core/mail/CoreEmails.php
email_user_registration_title filter s_title, $user oc-includes/classes/core/mail/CoreEmails.php
email_user_registration_title_after filter mail_beauty, $user oc-includes/classes/core/mail/CoreEmails.php
email_user_validation_description filter s_text, $user, $input oc-includes/classes/core/mail/CoreEmails.php
email_user_validation_description_after filter mail_beauty, $user, $input oc-includes/classes/core/mail/CoreEmails.php
email_user_validation_title filter s_title, $user, $input oc-includes/classes/core/mail/CoreEmails.php
email_user_validation_title_after filter mail_beauty, $user, $input oc-includes/classes/core/mail/CoreEmails.php
email_warn_expiration_description filter s_text, $aItem oc-includes/classes/core/mail/CoreEmails.php
email_warn_expiration_description_after filter mail_beauty, $aItem oc-includes/classes/core/mail/CoreEmails.php
email_warn_expiration_title filter s_title, $aItem oc-includes/classes/core/mail/CoreEmails.php
email_warn_expiration_title_after filter mail_beauty, $aItem oc-includes/classes/core/mail/CoreEmails.php
hook_email_admin_new_item action $item oc-includes/classes/listing/ListingService.php
hook_email_admin_new_user action $user oc-includes/classes/user/AccountService.php
hook_email_alert_validation action find_by_primary_key, $email, $secret oc-includes/osclass/helpers/hSearch.php
hook_email_comment_validated action $comment oc-includes/classes/listing/moderation/CommentModeration.php
hook_email_contact_user action pk_i_id, yourEmail, yourName, phoneNumber, message oc-includes/classes/core/security/MessageHold.php
hook_email_item_inquiry action $args oc-includes/classes/core/security/MessageHold.php
hook_email_item_validation action $item oc-includes/classes/listing/ListingService.php
hook_email_item_validation_non_register_user action $item oc-includes/classes/listing/ListingService.php
hook_email_new_admin action array oc-includes/osclass/classes/controller/admin/CAdminAdmins.php
hook_email_new_comment_admin action $mail oc-includes/classes/content/comment/CommentService.php
hook_email_new_comment_user action $mail oc-includes/classes/content/comment/CommentService.php
hook_email_new_email action $newEmail, change_user_email_confirm_url oc-includes/classes/user/AccountService.php
hook_email_new_item_non_register_user action $item oc-includes/classes/listing/ListingService.php
hook_email_send_friend action $args oc-includes/classes/core/security/MessageHold.php
hook_email_user_forgot_password action $user, $password_url oc-includes/classes/user/AccountService.php
hook_email_user_registration action $user oc-includes/classes/user/AccountService.php
hook_email_user_validation action $user, $input oc-includes/classes/user/AccountService.php
hook_email_warn_expiration action $item oc-includes/osclass/cron.php
Name Kind Arguments Fired at
actions_manage_items filter $options, $aRow oc-includes/osclass/classes/datatables/ItemsDataTable.php
activate_item action $id oc-includes/classes/listing/ListingService.php
after_delete_item action $itemId, $item oc-includes/classes/listing/ListingService.php
before_delete_item action $itemId oc-includes/classes/listing/ListingService.php
before_item_edit action $item oc-includes/osclass/classes/controller/CWebItem.php
cart_item_add_after event CartItemAdded oc-includes/classes/billing/event/CartItemAdded.php
deactivate_item action $id oc-includes/classes/listing/ListingService.php
delete_item action $id oc-includes/osclass/classes/model/Item.php
disable_item action $id oc-includes/classes/listing/ListingService.php
edited_item action $edited oc-includes/classes/listing/ListingService.php
enable_item action $id oc-includes/classes/listing/ListingService.php
filters_manage_item_search action none oc-admin/themes/modern/items/index.php
init_item action none oc-includes/osclass/classes/controller/CWebItem.php
invalidate_item_cache action $itemId oc-includes/osclass/helpers/hCache.php
item_add_prepare_data filter $aItem oc-includes/classes/listing/ListingService.php
item_bulk_filter filter $bulk_options oc-includes/osclass/classes/controller/admin/CAdminItems.php
item_bumped action $id oc-includes/classes/listing/ListingService.php
item_comments_after action none oc-includes/osclass/gui/item-comments-content.php
item_comments_before action none oc-includes/osclass/gui/item-comments-content.php
item_contact_form action item_id oc-includes/osclass/helpers/hItems.php
item_content_updated action value, $locale oc-includes/classes/listing/ListingService.php
item_decrease_stat action $item oc-includes/classes/listing/ListingStats.php
item_description filter s_description oc-includes/osclass/classes/controller/CWebItem.php
item_edit action $catId, $itemId oc-includes/classes/admin/ajax/PluginAjax.php
item_edit_prepare_data filter $aItem oc-includes/classes/listing/ListingService.php
item_expiration_updated action value, dt_expiration oc-includes/osclass/classes/model/Item.php
item_form action get_param oc-includes/classes/admin/ajax/PluginAjax.php
item_form_new_validation_messages action none oc-includes/osclass/classes/form/ItemForm.php
item_form_new_validation_rules action none oc-includes/osclass/classes/form/ItemForm.php
item_form_validation_messages action none oc-includes/osclass/classes/form/ItemForm.php
item_form_validation_rules action none oc-includes/osclass/classes/form/ItemForm.php
item_increase_stat action $item oc-includes/classes/listing/ListingStats.php
item_mark filter true, $id, $as oc-includes/classes/listing/ListingService.php
item_marked action $id, $as oc-includes/classes/listing/ListingService.php
item_meta_checkbox_value filter esc_html, $checked, $meta oc-includes/osclass/helpers/hItems.php
item_post_redirect_url filter search_category_url, id, $category oc-includes/osclass/classes/controller/CWebItem.php
item_premium_off action $id oc-includes/classes/billing/Premium.php
item_premium_on action $id oc-includes/classes/listing/ListingService.php
item_prepare_data filter $aItem oc-includes/classes/listing/ListingInput.php
item_price filter $currencyFormat oc-includes/osclass/helpers/hItems.php
item_price_null filter __ oc-includes/osclass/helpers/hItems.php
item_price_zero filter __ oc-includes/osclass/helpers/hItems.php
item_related_ids filter null, $itemId, $limit, $filters oc-includes/classes/listing/RelatedListings.php
item_spam_off action $id oc-includes/classes/listing/ListingService.php
item_spam_on action $id oc-includes/classes/listing/ListingService.php
item_title filter s_title oc-includes/osclass/classes/controller/CWebItem.php
item_view_beacon_enabled filter $enabled oc-includes/osclass/helpers/hViews.php
items_bulk_enabled_by_category action $ids, 1 oc-includes/classes/listing/category/CategoryService.php
items_processing_reported_row filter $row, $aRow oc-includes/osclass/classes/datatables/ItemsDataTable.php
items_processing_row filter $row, $aRow oc-includes/osclass/classes/datatables/ItemsDataTable.php
manage_item_search_conditions action value oc-includes/osclass/classes/datatables/ItemsDataTable.php
manage_item_search_with_filters filter value oc-includes/osclass/classes/datatables/ItemsDataTable.php
more_actions_manage_items filter $options_more, $aRow oc-includes/osclass/classes/datatables/ItemsDataTable.php
osc_item_edit_meta_textarea_value_filter filter $value, $field oc-includes/osclass/classes/form/FieldForm.php
osc_item_meta_textarea_value_filter filter $value, $meta oc-includes/osclass/helpers/hItems.php
osc_item_meta_value_filter filter $value, $meta oc-includes/osclass/helpers/hItems.php
osc_item_meta_value_pre_filter filter $value, $meta oc-includes/osclass/helpers/hItems.php
post_item action none oc-includes/osclass/classes/controller/CWebItem.php
post_item_contact_post action $item oc-includes/classes/listing/ListingMailService.php
post_item_send_friend_post action $item oc-includes/classes/listing/ListingMailService.php
posted_item action $item oc-includes/classes/listing/ListingService.php
pre_item_add action $aItem, $text oc-includes/classes/listing/ListingService.php
pre_item_add_comment_post action $item oc-includes/classes/content/comment/CommentService.php
pre_item_add_error filter $text, $aItem oc-includes/classes/listing/ListingService.php
pre_item_contact_post action $item oc-includes/classes/listing/ListingMailService.php
pre_item_delete_comment_post action $item, $commentId oc-includes/classes/content/comment/CommentService.php
pre_item_edit action $aItem, $text oc-includes/classes/listing/ListingService.php
pre_item_edit_error filter $text, $aItem oc-includes/classes/listing/ListingService.php
pre_item_send_friend_post action $item oc-includes/classes/listing/ListingMailService.php
pre_show_item filter find_by_primary_key oc-includes/osclass/classes/controller/CWebItem.php
pre_show_items filter $aItems oc-includes/classes/search/SearchRunner.php
rss_feed_item filter $itemArray, item oc-includes/osclass/classes/controller/CWebSearch.php
show_item action $item oc-includes/osclass/classes/controller/CWebItem.php
sitemap_items_source filter $default, array oc-includes/osclass/classes/Sitemap.php
sitemap_items_total filter count_live_items oc-includes/osclass/classes/Sitemap.php
sitemap_url_entry filter array, $type oc-includes/osclass/classes/Sitemap.php
sql_search_item_conditions filter value oc-includes/classes/search/query/PluginClauses.php
Name Kind Arguments Fired at
account_page_after action text oc-includes/osclass/gui/account/user-addresses-content.php
account_page_before action text oc-includes/osclass/gui/account/user-addresses-content.php
account_upgrade_offers filter $offers, $userId oc-includes/osclass/helpers/hBilling.php
action_throttle_limit filter array, $context oc-includes/classes/core/security/ActionThrottle.php
actions_manage_alerts filter $options, $aRow oc-includes/osclass/classes/datatables/AlertsDataTable.php
actions_manage_keyword_block filter $options, $aRow oc-includes/osclass/classes/datatables/KeywordBlocksDataTable.php
actions_manage_rules filter $options, $aRow oc-includes/osclass/classes/datatables/BanRulesDataTable.php
add_admin_toolbar_menus action none oc-includes/osclass/classes/AdminToolbar.php
after_admin_html action none oc-includes/osclass/classes/controller/AdminSecBaseModel.php
after_delete_city action $pk oc-includes/osclass/classes/model/City.php
after_delete_city_area action $pk oc-includes/osclass/classes/model/CityArea.php
after_delete_country action $pk oc-includes/osclass/classes/model/Country.php
after_delete_field action $id oc-includes/osclass/classes/model/Field.php
after_delete_field_group action $id oc-includes/osclass/classes/model/FieldGroup.php
after_delete_form_submission action $id oc-includes/classes/core/model/FormSubmission.php
after_delete_page action $id oc-includes/osclass/classes/model/Page.php
after_delete_region action $pk oc-includes/osclass/classes/model/Region.php
after_delete_widget action $widgetId oc-includes/osclass/classes/controller/admin/CAdminAppearance.php
after_html action none oc-includes/osclass/classes/controller/CWebAjax.php
after_login action $user, $redirect oc-includes/classes/user/auth/SignIn.php
after_rewrite_rules action array oc-includes/osclass/classes/Rewrite.php
after_show_pagination_admin action none oc-includes/osclass/helpers/hPagination.php
alert_email_daily_description filter s_text, $user, $ads, $s_search, $items, $totalItems oc-includes/classes/core/mail/CoreEmails.php
alert_email_daily_description_after filter mail_beauty, $user, $ads, $s_search, $items, $totalItems oc-includes/classes/core/mail/CoreEmails.php
alert_email_daily_title filter s_title, $user, $ads, $s_search, $items, $totalItems oc-includes/classes/core/mail/CoreEmails.php
alert_email_daily_title_after filter mail_beauty, $user, $ads, $s_search, $items, $totalItems oc-includes/classes/core/mail/CoreEmails.php
alert_email_hourly_description filter s_text, $user, $ads, $s_search, $items, $totalItems oc-includes/classes/core/mail/CoreEmails.php
alert_email_hourly_description_after filter mail_beauty, $user, $ads, $s_search, $items, $totalItems oc-includes/classes/core/mail/CoreEmails.php
alert_email_hourly_title filter s_title, $user, $ads, $s_search, $items, $totalItems oc-includes/classes/core/mail/CoreEmails.php
alert_email_hourly_title_after filter mail_beauty, $user, $ads, $s_search, $items, $totalItems oc-includes/classes/core/mail/CoreEmails.php
alert_email_weekly_description filter s_text, $user, $ads, $s_search, $items, $totalItems oc-includes/classes/core/mail/CoreEmails.php
alert_email_weekly_description_after filter mail_beauty, $user, $ads, $s_search, $items, $totalItems oc-includes/classes/core/mail/CoreEmails.php
alert_email_weekly_title filter s_title, $user, $ads, $s_search, $items, $totalItems oc-includes/classes/core/mail/CoreEmails.php
alert_email_weekly_title_after filter mail_beauty, $user, $ads, $s_search, $items, $totalItems oc-includes/classes/core/mail/CoreEmails.php
alert_row_actions filter $alertActions, alert oc-includes/osclass/gui/account/user-alerts-content.php
alerts_processing_row filter $row, $aRow oc-includes/osclass/classes/datatables/AlertsDataTable.php
api_cors_origins filter $origins, $request oc-includes/classes/api/http/Cors.php
api_fields filter value oc-includes/classes/api/serializer/ExtensionMembers.php
api_listing filter $data, $context oc-includes/classes/api/serializer/ListingSerializer.php
api_listing_input filter $input, $request, $credential oc-includes/classes/api/write/ListingWriter.php
api_listings_prefetch action $ids, $context oc-includes/classes/api/serializer/ListingSerializer.php
api_menus filter $menus, $locale oc-includes/classes/api/serializer/PageSerializer.php
api_problem_codes filter value oc-includes/classes/api/Problem.php
api_rate_limit filter $limit, $credential, $route oc-includes/classes/api/ratelimit/RatePolicy.php
api_request_before action $request, $route, $credential oc-includes/classes/api/Kernel.php
api_response filter $response, $request, $route oc-includes/classes/api/Kernel.php
api_routes filter value oc-includes/classes/api/routing/Router.php
api_schemas filter value oc-includes/classes/api/schema/ExtensionSchemas.php
api_scopes filter value oc-includes/classes/user/apikey/Scopes.php
api_webhook_delivered action $endpointData, $event, $httpStatus, $attempt oc-includes/classes/webhook/Delivery.php
api_webhook_events filter $events oc-includes/classes/webhook/Events.php
api_webhook_payload filter $payload, $type, $endpointData oc-includes/classes/webhook/Dispatcher.php
ban_rule_bulk_filter filter $bulk_options oc-includes/osclass/classes/controller/admin/CAdminUsers.php
base_url filter $path, $with_index oc-includes/osclass/helpers/hDefines.php
before_admin_html action none oc-includes/osclass/classes/controller/AdminSecBaseModel.php
before_delete_city action $pk oc-includes/osclass/classes/model/City.php
before_delete_city_area action $pk oc-includes/osclass/classes/model/CityArea.php
before_delete_country action $pk oc-includes/osclass/classes/model/Country.php
before_delete_field action $id oc-includes/osclass/classes/model/Field.php
before_delete_field_group action $id oc-includes/osclass/classes/model/FieldGroup.php
before_delete_form_submission action $id oc-includes/classes/core/model/FormSubmission.php
before_delete_page action $id oc-includes/osclass/classes/model/Page.php
before_delete_region action $pk oc-includes/osclass/classes/model/Region.php
before_delete_widget action $widgetId oc-includes/osclass/classes/controller/admin/CAdminAppearance.php
before_html action none oc-includes/osclass/classes/controller/CWebAjax.php
before_login action none oc-includes/classes/user/auth/SignIn.php
before_login_admin action none oc-includes/osclass/classes/controller/admin/CAdminLogin.php
before_rewrite_rules action array oc-includes/osclass/classes/Rewrite.php
before_show_pagination_admin action none oc-includes/osclass/helpers/hPagination.php
before_validating_login action none oc-includes/classes/user/auth/SignIn.php
billing_can_publish filter $allowed, $userId, $ctx oc-includes/classes/billing/EntitlementStore.php
billing_credits_changed action $userId, $delta, $reason oc-includes/classes/billing/Wallet.php
billing_document_compose event DocumentComposing oc-includes/classes/billing/event/DocumentComposing.php
billing_document_issued event DocumentIssued oc-includes/classes/billing/event/DocumentIssued.php
billing_feature_applied action $featureId, $userId, $price oc-includes/classes/billing/Billing.php
billing_feature_duration filter $days, value, $userId oc-includes/classes/billing/Feature.php
billing_feature_price filter $price, value, $userId oc-includes/classes/billing/Feature.php
billing_listing_limit_message filter billing_slot_enabled, value, $item oc-includes/osclass/helpers/hBilling.php
billing_order_cancelled event OrderCancelled oc-includes/classes/billing/event/OrderCancelled.php
billing_order_delivered event OrderDelivered oc-includes/classes/billing/event/OrderDelivered.php
billing_order_failed event OrderFailed oc-includes/classes/billing/event/OrderFailed.php
billing_order_paid event OrderPaid oc-includes/classes/billing/event/OrderPaid.php
billing_order_placed event OrderPlaced oc-includes/classes/billing/event/OrderPlaced.php
billing_order_processing event OrderProcessing oc-includes/classes/billing/event/OrderProcessing.php
billing_order_refunded action id, user_id, credits oc-includes/classes/billing/Billing.php
billing_order_return_url event OrderReturnUrlResolving oc-includes/classes/billing/event/OrderReturnUrlResolving.php
billing_order_shipped event OrderShipped oc-includes/classes/billing/event/OrderShipped.php
billing_order_url event OrderUrlResolving oc-includes/classes/billing/event/OrderUrlResolving.php
billing_receipt_details event ReceiptComposing oc-includes/classes/billing/event/ReceiptComposing.php
billing_shipment_add_after event ShipmentAdded oc-includes/classes/billing/event/ShipmentAdded.php
billing_tracking_url event TrackingUrlResolving oc-includes/classes/billing/event/TrackingUrlResolving.php
body_class filter $classes, $class oc-includes/osclass/helpers/hTheme.php
cache_relevant_cookies filter array_values oc-includes/osclass/helpers/hHttpCache.php
cart_checkout_before event CheckoutStarting oc-includes/classes/billing/event/CheckoutStarting.php
cart_discount_lines event CartDiscountLines oc-includes/classes/billing/event/CartDiscountLines.php
cart_free_over event CartFreeOver oc-includes/classes/billing/event/CartFreeOver.php
cart_needs_shipping event CartShipping oc-includes/classes/billing/event/CartShipping.php
cart_problems event CartProblems oc-includes/classes/billing/event/CartProblems.php
cart_shipping_lines event CartShippingLines oc-includes/classes/billing/event/CartShippingLines.php
cart_shipping_methods event CartShipping oc-includes/classes/billing/event/CartShipping.php
cart_tax_lines event CartTaxLines oc-includes/classes/billing/event/CartTaxLines.php
cart_totals event CartFees oc-includes/classes/billing/event/CartFees.php
change_email_confirm action get_param, old, new oc-includes/osclass/classes/controller/CWebUserNonSecure.php
checkout_fields event CheckoutFields oc-includes/classes/billing/event/CheckoutFields.php
cli_commands filter array oc-includes/classes/core/cli/Cli.php
contact_form action none oc-includes/osclass/gui/contact-content.php
contact_form_after action none oc-includes/osclass/gui/contact-content.php
contact_form_top action none oc-includes/osclass/gui/contact-content.php
contact_page_aside action none oc-includes/osclass/gui/contact-content.php
contact_params filter $params oc-includes/osclass/classes/controller/CWebContact.php
conversation_blocked event ConversationBlocked oc-includes/classes/messaging/event/ConversationBlocked.php
conversation_reported event ConversationReported oc-includes/classes/messaging/event/ConversationReported.php
conversation_started event ConversationStarted oc-includes/classes/messaging/event/ConversationStarted.php
conversation_unblocked event ConversationUnblocked oc-includes/classes/messaging/event/ConversationUnblocked.php
correct_login_url_redirect filter $url_redirect oc-includes/osclass/classes/controller/CWebLogin.php
count_view_on_beacon filter request_counts_as_view, $id oc-includes/osclass/classes/controller/CWebItem.php
count_view_on_render filter request_counts_as_view, $item oc-includes/osclass/classes/controller/CWebItem.php
cron action none oc-includes/osclass/cron.php
cron_daily action none oc-includes/osclass/cron.php
cron_hourly action none oc-includes/osclass/cron.php
cron_weekly action none oc-includes/osclass/cron.php
custom_appearance_title filter __ oc-admin/themes/modern/appearance/view.php
custom_controller action none oc-includes/osclass/classes/controller/CWebCustom.php
custom_field_autocomplete_source filter $results, $fieldId, $term, $field oc-includes/osclass/classes/controller/CWebAjax.php
custom_field_input_class filter $defaultInputClass, $field, $type, $search oc-includes/osclass/classes/form/FieldForm.php
custom_query action $mSearch, $keyword, $value oc-includes/osclass/helpers/hItems.php
customiser_published event CustomiserPublished oc-includes/classes/content/widgets/event/CustomiserPublished.php
d_file_included action $file, $replacement, $version, $message oc-includes/classes/core/utility/Deprecate.php
d_function_run action $function, $replacement, $version oc-includes/classes/core/utility/Deprecate.php
d_hook_run action $hook, $replacement, $version, $message oc-includes/classes/core/utility/Deprecate.php
datatable_listing_class filter array, value, $row oc-admin/themes/modern/items/index.php
delete_locale action $locale oc-includes/osclass/classes/model/OSCLocale.php
delete_resource action $resourceRow oc-includes/classes/core/storage/ResourceUploader.php
edit_page action page_id oc-includes/classes/content/widgets/Customiser.php
feed action $feed oc-includes/osclass/classes/controller/CWebSearch.php
flash_message_text filter msg oc-includes/osclass/helpers/hMessages.php
form_fields filter $fields, $form, $contextType, $contextId oc-includes/osclass/helpers/hForms.php
form_render action $form, $contextType, $contextId oc-includes/osclass/helpers/hForms.php
form_submit action $form, values, $contextType, $contextId oc-includes/osclass/classes/controller/CWebForm.php
form_submit_veto filter text, $form, values, $contextType, $contextId oc-includes/osclass/classes/controller/CWebForm.php
form_submitted action $submissionId, $form, values, $contextType, $contextId oc-includes/osclass/classes/controller/CWebForm.php
form_validation_errors filter errors, $form, values, $contextType, $contextId oc-includes/osclass/classes/controller/CWebForm.php
geocode_address filter $address, $countryCode oc-includes/classes/location/Geocoder.php
geocode_coordinates filter $coords, $address, $country, $providerId oc-includes/classes/location/Geocoder.php
gettext filter $string oc-includes/osclass/helpers/hTranslations.php
header action none oc-includes/osclass/helpers/hTheme.php
help_box action none oc-admin/themes/modern/parts/header.php
image_jpeg_quality filter $pref oc-includes/classes/media/image/Processor.php
image_max_pixels filter 50000000 oc-includes/classes/media/image/Processor.php
image_png_compression filter 6 oc-includes/classes/media/image/Processor.php
init action none oc-includes/osclass/classes/controller/BaseModel.php
init_ajax action none oc-includes/osclass/classes/controller/CWebAjax.php
init_billing action none oc-includes/osclass/classes/controller/CWebBilling.php
init_billing_non_secure action none oc-includes/osclass/classes/controller/CWebBillingNonSecure.php
init_contact action none oc-includes/osclass/classes/controller/CWebContact.php
init_custom action none oc-includes/osclass/classes/controller/CWebCustom.php
init_language action none oc-includes/osclass/classes/controller/CWebLanguage.php
init_login action none oc-includes/osclass/classes/controller/CWebLogin.php
init_main action none oc-includes/osclass/classes/controller/CWebMain.php
init_page action none oc-includes/osclass/classes/controller/CWebPage.php
init_register action none oc-includes/osclass/classes/controller/CWebRegister.php
init_send_mail filter $mail, $params oc-includes/classes/core/mail/Mailer.php
invalidate_locale_cache action none oc-includes/osclass/helpers/hCache.php
job_gave_up action $type, $payload, $error, $id oc-includes/classes/core/job/JobWorker.php
keyword_block_bulk_filter filter $bulk_options oc-includes/osclass/classes/controller/admin/settings/CAdminSettingsKeywordBlock.php
keyword_block_processing_row filter $row, $aRow oc-includes/osclass/classes/datatables/KeywordBlocksDataTable.php
language_attributes filter $attrs oc-includes/osclass/helpers/hTheme.php
language_bulk_filter filter $bulk_options oc-includes/osclass/classes/controller/admin/CAdminLanguages.php
listing_list_html filter null, _get, $context oc-includes/osclass/gui/page-fn.php
listing_row_actions filter $rowActions, $rowItem, $rowContext oc-includes/osclass/gui/account/parts/item-row.php
listing_row_badges filter $rowBadges, $rowItem, $rowContext oc-includes/osclass/gui/account/parts/item-row.php
listing_row_meta filter $rowMeta, $rowItem, $rowContext oc-includes/osclass/gui/account/parts/item-row.php
locations_json_url filter text oc-includes/osclass/helpers/hUtils.php
login_admin action $admin oc-includes/osclass/classes/controller/admin/CAdminLogin.php
login_admin_form action none oc-admin/gui/login.php
login_admin_image filter admin_base_url oc-includes/osclass/classes/controller/admin/CAdminLogin.php
login_admin_title filter text oc-includes/osclass/classes/controller/admin/CAdminLogin.php
login_admin_url filter value oc-includes/osclass/classes/controller/admin/CAdminLogin.php
logout action none oc-includes/osclass/classes/controller/CWebMain.php
logout_admin action none oc-includes/osclass/classes/controller/admin/CAdminMain.php
logs_processing_row filter $row, $aRow oc-includes/osclass/classes/datatables/LogsDataTable.php
mail_from filter $from, $params oc-includes/classes/core/mail/Mailer.php
mail_from_name filter $from_name, $params oc-includes/classes/core/mail/Mailer.php
mail_layout filter value, $mail, $params oc-includes/classes/core/mail/Mailer.php
mail_layout_vars filter array, array oc-includes/classes/billing/Receipts.php
market_allowed_package_hosts filter $defaultHosts oc-includes/classes/core/utility/FileSystem.php
market_catalog_mirror_base filter $default, value oc-includes/classes/market/Catalog.php
market_catalog_primary_base filter $default, value oc-includes/classes/market/Catalog.php
media_processing_row filter $row, $aRow oc-includes/osclass/classes/datatables/MediaDataTable.php
message_body event MessageSending oc-includes/classes/messaging/event/MessageSending.php
message_held event MessageHeld oc-includes/classes/messaging/event/MessageHeld.php
message_read event MessageRead oc-includes/classes/messaging/event/MessageRead.php
message_sent event MessageSent oc-includes/classes/messaging/event/MessageSent.php
meta_description_filter filter $text oc-includes/osclass/functions.php
meta_keywords_filter filter $text oc-includes/osclass/functions.php
meta_title_filter filter $text oc-includes/osclass/functions.php
mo_core_messages_path filter translations_path, $locale oc-includes/osclass/classes/Translation.php
mo_core_path filter translations_path, $locale oc-includes/osclass/classes/Translation.php
moderator_access filter value oc-includes/classes/admin/ModeratorAccess.php
more_actions_manage_rules filter $options_more, $aRow oc-includes/osclass/classes/datatables/BanRulesDataTable.php
ngettext filter $string oc-includes/osclass/helpers/hTranslations.php
non_remember_login_ttl filter 2 * 3600 oc-includes/osclass/helpers/hUsers.php
osclass_upgrade_package filter $package_info oc-includes/classes/core/upgrade/Osclass.php
page_bulk_filter filter $bulk_options oc-includes/osclass/classes/controller/admin/CAdminPages.php
page_cache_purge action $reasons oc-includes/osclass/helpers/hHttpCache.php
page_cache_purge_enabled filter true oc-includes/osclass/helpers/hHttpCache.php
page_meta action none oc-admin/themes/modern/pages/frm.php
page_routes filter $core oc-includes/classes/core/routing/PageDispatcher.php
page_templates filter available_templates oc-includes/osclass/classes/controller/admin/CAdminPages.php
pages_processing_row filter $row, $aRow oc-includes/osclass/classes/datatables/PagesDataTable.php
personal_data_export filter $out, $userId oc-includes/classes/user/privacy/PersonalData.php
phpmailer_smtp_timeout filter 15 oc-includes/classes/core/mail/Mailer.php
pre_contact_post action $params oc-includes/osclass/classes/controller/CWebContact.php
pre_send_mail filter $mail, $params oc-includes/classes/core/mail/Mailer.php
public_cache_max_age filter 30 oc-includes/osclass/helpers/hHttpCache.php
regenerate_image action $resource oc-includes/classes/listing/PhotoService.php
regenerated_image action find_by_primary_key oc-includes/classes/listing/PhotoService.php
register_email_taken action s_email oc-includes/classes/user/AccountService.php
register_geocode_providers action $this oc-includes/classes/location/GeocodeProviderRegistry.php
register_jobs action none oc-includes/classes/core/job/JobWorker.php
register_payment_gateways action $this oc-includes/classes/billing/PaymentGatewayRegistry.php
register_storage_adapters action get_instance oc-includes/osclass/helpers/hStorage.php
render_admintoolbar action none oc-includes/osclass/classes/AdminToolbar.php
resource_alt filter $title, resource oc-includes/osclass/helpers/hItems.php
resource_download_filename filter $name, $resource, $variant oc-includes/osclass/helpers/hItems.php
resource_download_url filter $url, $resource, $variant oc-includes/osclass/helpers/hItems.php
resource_original_url filter resource_path, resource oc-includes/osclass/helpers/hItems.php
resource_path filter $path, $resource oc-includes/classes/admin/ui/PhotoGrid.php
resource_preview_url filter resource_path, resource oc-includes/osclass/helpers/hItems.php
resource_thumbnail_url filter resource_path, resource oc-includes/osclass/helpers/hItems.php
resource_url filter resource_path, resource oc-includes/osclass/helpers/hItems.php
response_body filter $data oc-includes/classes/core/security/Csrf.php
response_cache_control filter $header oc-includes/osclass/helpers/hHttpCache.php
response_is_cacheable filter true oc-includes/osclass/helpers/hHttpCache.php
rules_processing_row filter $row, $aRow oc-includes/osclass/classes/datatables/BanRulesDataTable.php
sanitize_html_allowed filter implode oc-includes/classes/core/utility/Sanitize.php
scripts_defer filter defined oc-includes/osclass/classes/Scripts.php
scripts_loaded action none oc-includes/osclass/helpers/hTheme.php
settings_page_after_group action id, $group, $index oc-includes/classes/admin/ui/SettingsForm.php
settings_page_saved action $pageId, $exposed oc-includes/osclass/helpers/hSettings.php
shutdown_functions filter value oc-includes/classes/core/security/Csrf.php
slug filter s_name oc-includes/classes/core/utility/Utils.php
static_page_text filter value, $shown oc-includes/classes/api/serializer/PageSerializer.php
style_url filter $css oc-includes/osclass/classes/Styles.php
template_candidates filter $candidates, $context oc-includes/osclass/helpers/hTheme.php
tinymce_config filter $config, $preset oc-includes/osclass/helpers/hUtils.php
translation_load_after event TranslationLoaded oc-includes/classes/core/language/event/TranslationLoaded.php
upload_image_extension filter default_ext oc-includes/classes/core/storage/ResourceUploader.php
upload_image_mime filter mime oc-includes/classes/core/storage/ResourceUploader.php
uploaded_file action $stored oc-includes/classes/listing/PhotoService.php
uploaded_resource action $row oc-includes/classes/core/storage/ResourceUploader.php
variant_price_changed event VariantPriceChanged oc-includes/classes/listing/event/VariantPriceChanged.php
variant_stock_changed event VariantStockChanged oc-includes/classes/listing/event/VariantStockChanged.php
watermark_font_path filter value oc-includes/classes/media/image/WatermarkText.php
watermark_font_size filter 30 oc-includes/classes/media/image/WatermarkText.php
watermark_text_value filter $text oc-includes/classes/media/image/WatermarkText.php
widget_locations filter $locations oc-includes/osclass/helpers/hWidgets.php
Name Kind Arguments Fired at
after_plugin_activate action none oc-includes/osclass/classes/Plugins.php
after_plugin_deactivate action none oc-includes/osclass/classes/Plugins.php
after_plugin_install action none oc-includes/osclass/classes/Plugins.php
after_plugin_uninstall action none oc-includes/osclass/classes/Plugins.php
before_plugin_activate action none oc-includes/osclass/classes/Plugins.php
before_plugin_deactivate action none oc-includes/osclass/classes/Plugins.php
before_plugin_install action none oc-includes/osclass/classes/Plugins.php
before_plugin_uninstall action none oc-includes/osclass/classes/Plugins.php
custom_plugin_title filter __ oc-admin/themes/modern/plugins/configuration.php
mo_plugin_path filter plugins_path, $locale, $domain oc-includes/osclass/classes/Translation.php
plugin_bulk_action action $action, $selected oc-includes/osclass/classes/controller/admin/CAdminPlugins.php
plugin_bulk_disable action $changed oc-includes/osclass/classes/controller/admin/CAdminPlugins.php
plugin_bulk_enable action $changed oc-includes/osclass/classes/controller/admin/CAdminPlugins.php
plugin_bulk_filter filter $bulk_options oc-includes/osclass/classes/controller/admin/CAdminPlugins.php
plugin_bulk_uninstall action $changed oc-includes/osclass/classes/controller/admin/CAdminPlugins.php
plugin_icon_url filter $url, $plugin oc-includes/osclass/helpers/hPlugins.php
renderplugin_controller action none oc-includes/osclass/classes/controller/admin/CAdminPlugins.php
Name Kind Arguments Fired at
after_search action none oc-includes/osclass/classes/controller/CWebSearch.php
alert_search_params filter $params, $request oc-includes/classes/search/AlertEnvelope.php
before_search action none oc-includes/osclass/classes/controller/CWebSearch.php
save_latest_searches_pattern filter $p_sPattern oc-includes/osclass/classes/controller/CWebSearch.php
search action value oc-includes/osclass/classes/controller/CWebSearch.php
search_conditions action get_params_as_array, $search, $context oc-includes/classes/search/SearchBuilder.php
search_pattern filter $rawPattern oc-includes/classes/search/SearchCriteria.php
search_results filter null, $search, get_params_as_array, $context, $bare oc-includes/classes/search/SearchRunner.php
search_suggestions filter null, $q, $limit, $context oc-includes/classes/search/SearchSuggestions.php
sql_search_conditions filter $list oc-includes/classes/search/query/PluginClauses.php
sql_search_fields filter value oc-includes/classes/search/query/PluginClauses.php
Name Kind Arguments Fired at
after_init_web_theme action none oc-includes/osclass/classes/theme/WebThemes.php
api_theme_functions_enabled filter false oc-includes/osclass/classes/theme/WebThemes.php
before_init_web_theme action none oc-includes/osclass/classes/theme/WebThemes.php
mo_theme_messages_path filter themes_path, $locale, $domain oc-includes/osclass/classes/Translation.php
mo_theme_path filter themes_path, $locale, $domain oc-includes/osclass/classes/Translation.php
theme filter theme oc-includes/osclass/classes/Translation.php
theme_activate action $theme oc-includes/classes/market/PluginDependencies.php
theme_screenshot_url filter $url, $theme oc-includes/osclass/helpers/hTheme.php
theme_url filter $script oc-includes/osclass/classes/Scripts.php
Name Kind Arguments Fired at
actions_manage_users filter $options, $aRow oc-includes/osclass/classes/datatables/UsersDataTable.php
activate_user action $user oc-includes/classes/user/AccountService.php
after_delete_user action $id oc-includes/osclass/classes/model/User.php
after_username_change action _get, $username oc-includes/osclass/classes/controller/CWebUser.php
api_user filter $data, $context oc-includes/classes/api/serializer/UserSerializer.php
before_user_delete action $user oc-includes/classes/user/AccountService.php
before_user_recover action none oc-includes/osclass/classes/controller/CWebLogin.php
before_user_register action none oc-includes/classes/user/AccountService.php
before_username_change action _get, $username oc-includes/osclass/classes/controller/CWebUser.php
bot_user_agents filter array oc-includes/osclass/helpers/hUtils.php
datatable_user_class filter array, value, $row oc-admin/themes/modern/users/index.php
deactivate_user action $user oc-includes/classes/user/AccountService.php
delete_user action $id oc-includes/osclass/classes/model/User.php
disable_user action $user oc-includes/classes/user/AccountService.php
enable_user action $user oc-includes/classes/user/AccountService.php
init_user action none oc-includes/osclass/classes/controller/CWebUser.php
init_user_non_secure action none oc-includes/osclass/classes/controller/CWebUserNonSecure.php
manage_user_search_conditions action $dummy oc-includes/osclass/classes/datatables/UsersDataTable.php
manage_user_search_with_filters filter value oc-includes/osclass/classes/datatables/UsersDataTable.php
more_actions_manage_users filter $options_more, $aRow oc-includes/osclass/classes/datatables/UsersDataTable.php
pre_user_post action none oc-includes/classes/user/AccountService.php
user_add_flash_error filter $flash oc-includes/classes/user/AccountService.php
user_avatar_form action $profileUser oc-includes/osclass/gui/account/user-profile-content.php
user_bulk_filter filter $bulk_options oc-includes/osclass/classes/controller/admin/CAdminUsers.php
user_contact_form action $publicUser oc-includes/osclass/gui/account/user-public-profile-content.php
user_contact_form_after action $publicUser oc-includes/osclass/gui/account/user-public-profile-content.php
user_dashboard action none oc-includes/osclass/gui/account/user-dashboard-content.php
user_edit_completed action $userId oc-includes/classes/user/AccountService.php
user_edit_flash_error filter $flash, $userId oc-includes/classes/user/AccountService.php
user_form action $user oc-admin/themes/modern/users/frm.php
user_info filter $info, $userId, $locale oc-includes/osclass/helpers/hUsers.php
user_login_form action none oc-includes/osclass/gui/account/user-login-content.php
user_login_form_after action none oc-includes/osclass/gui/account/user-login-content.php
user_menu action none oc-includes/osclass/gui/account/nav.php
user_menu_filter filter $items oc-includes/osclass/helpers/hUtils.php
user_profile_form action $user oc-admin/themes/modern/users/frm.php
user_profile_info filter s_info, pk_i_id, fk_c_locale_code oc-includes/osclass/classes/controller/CWebUser.php
user_register_completed action $userId oc-includes/classes/user/AccountService.php
user_register_failed action $codes oc-includes/classes/user/AccountService.php
user_register_form action none oc-admin/themes/modern/users/frm.php
user_register_form_after action none oc-includes/osclass/gui/account/user-register-content.php
user_signout_all_after action $userId oc-includes/classes/user/auth/SignOut.php
users_processing_row filter $row, $aRow oc-includes/osclass/classes/datatables/UsersDataTable.php
validate_user action $user oc-includes/classes/user/AccountService.php