Filters

A filter is functionality that allows to modify content of particular functions (price format, item title etc.). Function added to filter have 1 input parameter – content that can be modified. Function returns output as modified content.

osc_add_filter('filter_name', 'function_name');

Example for filters might be need to capitalize items title:

osc_add_filter('item_title', function($title) { return ucwords($title); });

List of filters

Keep in mind that not all filters are listed here, we will try to make this list as accurate as possible. List is written in form: {name of filter} / {file where filter is used} / {short description}.

  • actions_manage_admins / classes/datatables/AdminsDataTable.php – actions list on admin datatable
  • actions_manage_alerts / classes/datatables/AlertsDataTable.php – actions list on admin datatable
  • actions_manage_items / classes/datatables/ItemsDataTable.php – actions list on admin datatable
  • actions_manage_logs / classes/datatables/LogsDataTable.php – actions list on admin datatable
  • actions_manage_rules / classes/datatables/BanRulesDataTable.php – actions list on admin datatable
  • actions_manage_users / classes/datatables/UsersDataTable.php – actions list on admin datatable
  • admin_base_url / helpers/hDefines.php – admin backoffice filter
  • admin_body_class / oc-admin/themes/omega/functions.php, oc-admin/themes/omega/gui/forgot_password.php, oc-admin/themes/omega/gui/login.php, ... – admin backoffice filter
  • admin_bulk_filter / oc-admin/admins.php – bulk action options on admin list page
  • admin_dialog_delete_listing_text / oc-admin/themes/omega/items/index.php – admin backoffice filter
  • admin_dialog_elete_listing_title / oc-admin/themes/omega/items/index.php – admin backoffice filter
  • admin_favicons / oc-admin/themes/omega/functions.php – admin backoffice filter
  • admin_item_description / oc-admin/themes/omega/functions.php – admin backoffice filter
  • admin_item_title / oc-admin/themes/omega/functions.php – admin backoffice filter
  • admin_items_reported_sort_columns / classes/datatables/ItemsDataTable.php – admin backoffice filter
  • admin_items_reported_sort_resolved / classes/datatables/ItemsDataTable.php – admin backoffice filter
  • admin_items_sort_columns / classes/datatables/ItemsDataTable.php – admin backoffice filter
  • admin_items_sort_resolved / classes/datatables/ItemsDataTable.php – admin backoffice filter
  • admin_items_source_columns / classes/datatables/ItemsDataTable.php – admin backoffice filter
  • admin_page_description / oc-admin/themes/omega/functions.php – admin backoffice filter
  • admin_page_title / oc-admin/themes/omega/functions.php – admin backoffice filter
  • admin_title / oc-admin/themes/omega/admins/frm.php, oc-admin/themes/omega/admins/index.php, oc-admin/themes/omega/appearance/add.php, ... – admin backoffice filter
  • admin_tools_log_files / oc-admin/tools.php – admin backoffice filter
  • admin_user_profile_info / oc-admin/users.php – admin backoffice filter
  • admins_processing_row / classes/datatables/AdminsDataTable.php – modify admin datatable row HTML
  • alert_change_expiration / helpers/hUsers.php – alert data or display filter
  • alert_change_expiration_url / helpers/hUsers.php – alert data or display filter
  • alert_change_frequency / helpers/hUsers.php – alert data or display filter
  • alert_change_frequency_url / helpers/hUsers.php – alert data or display filter
  • alert_email_daily_description / emails.php – alert notification email filter
  • alert_email_daily_description_after / emails.php – alert notification email filter
  • alert_email_daily_title / emails.php – alert notification email filter
  • alert_email_daily_title_after / emails.php – alert notification email filter
  • alert_email_hourly_description / emails.php – alert notification email filter
  • alert_email_hourly_description_after / emails.php – alert notification email filter
  • alert_email_hourly_title / emails.php – alert notification email filter
  • alert_email_hourly_title_after / emails.php – alert notification email filter
  • alert_email_instant_description / emails.php – alert notification email filter
  • alert_email_instant_description_after / emails.php – alert notification email filter
  • alert_email_instant_title / emails.php – alert notification email filter
  • alert_email_instant_title_after / emails.php – alert notification email filter
  • alert_email_weekly_description / emails.php – alert notification email filter
  • alert_email_weekly_description_after / emails.php – alert notification email filter
  • alert_email_weekly_title / emails.php – alert notification email filter
  • alert_email_weekly_title_after / emails.php – alert notification email filter
  • alert_pre_save / controller/ajax.php – alert data or display filter
  • alert_pre_save_name / controller/ajax.php – alert data or display filter
  • alert_pre_save_params / controller/ajax.php – alert data or display filter
  • alert_pre_save_sql / controller/ajax.php – alert data or display filter
  • alert_pre_save_type / controller/ajax.php – alert data or display filter
  • alert_skip_params / helpers/hSearch.php – alert data or display filter
  • alert_stats_increase / model/Alerts.php – alert data or display filter
  • alert_types / helpers/hUsers.php – alert data or display filter
  • alerts_processing_row / classes/datatables/AlertsDataTable.php – modify admin datatable row HTML
  • allowed_mime_types / utils.php – content filter hook
  • assets_url / helpers/hDefines.php – content filter hook
  • available_image_upload_extensions / helpers/hPreference.php – content filter hook
  • ban_rule_bulk_filter / oc-admin/users.php – bulk action options on admin list page
  • base_url / helpers/hDefines.php – content filter hook
  • before_contact / ItemActions.php – content filter hook
  • before_send_friend / ItemActions.php – content filter hook
  • before_validate_contact / ItemActions.php – content filter hook
  • breadcrumbs_page_title_filter / classes/Breadcrumb.php – content filter hook
  • canonical_url / functions.php – default canonical URL before stored into view
  • canonical_url_public_profile / controller/user-non-secure.php, functions.php – public profile canonical URL before stored into view
  • canonical_url_search / controller/search.php, functions.php – search page canonical URL before stored into view
  • categories_processing_row / classes/datatables/CategoriesDataTable.php – modify admin datatable row HTML
  • category_bulk_filter / oc-admin/categories.php – bulk action options on admin list page
  • comment_bulk_filter / oc-admin/comments.php – bulk action options on admin list page
  • comment_insert_data / ItemActions.php, oc-admin/comments.php – content filter hook
  • comments_processing_row / classes/datatables/CommentsDataTable.php – modify admin datatable row HTML
  • contact_params / controller/contact.php – content filter hook
  • correct_login_url_redirect / helpers/hDefines.php, oc-admin/users.php – content filter hook
  • currencies_processing_row / classes/datatables/CurrenciesDataTable.php – modify admin datatable row HTML
  • current_admin_menu_ / helpers/hAdminMenu.php – content filter hook
  • custom_appearance_title / oc-admin/themes/omega/appearance/view.php – content filter hook
  • custom_datatable_columns_ / classes/datatables/CustomDataTable.php – custom datatable configuration filter
  • custom_datatable_config / classes/datatables/CustomDataTable.php – custom datatable configuration filter
  • custom_datatable_params_ / classes/datatables/CustomDataTable.php – custom datatable configuration filter
  • custom_datatable_row_ / classes/datatables/CustomDataTable.php – custom datatable configuration filter
  • custom_datatable_row_actions_ / classes/datatables/CustomDataTable.php – custom datatable configuration filter
  • custom_plugin_title / oc-admin/themes/omega/plugins/configuration.php, oc-admin/themes/omega/plugins/view.php – content filter hook
  • datatable_alert_class / classes/datatables/AlertsDataTable.php, oc-admin/themes/omega/users/alerts.php – backoffice alert list row class
<tr class="<?php echo implode(' ', osc_apply_filter('datatable_alert_class', array(), $aRawRows[$key], $row)); ?>">
  • datatable_categories_class / classes/datatables/CategoriesDataTable.php, oc-admin/themes/omega/categories/index.php – backoffice datatable row class
  • datatable_comment_class / classes/datatables/CommentsDataTable.php, oc-admin/themes/omega/comments/index.php – backoffice datatable row class
  • datatable_currencies_class / classes/datatables/CurrenciesDataTable.php, oc-admin/themes/omega/currencies/index.php – backoffice datatable row class
  • datatable_fields_class / oc-admin/themes/omega/fields/index.php – backoffice datatable row class
  • datatable_languages_class / classes/datatables/LanguagesDataTable.php, oc-admin/themes/omega/languages/index.php – backoffice datatable row class
  • datatable_listing_class / classes/datatables/ItemsDataTable.php, oc-admin/themes/omega/items/index.php – backoffice listing list row class
<tr class="<?php echo implode(' ', osc_apply_filter('datatable_listing_class', array(), $aRawRows[$key], $row)); ?>">
  • datatable_sort_columns / classes/datatables/DataTable.php – datatable sort/source configuration
  • datatable_sort_columns_ / classes/datatables/DataTable.php – datatable sort/source configuration
  • datatable_sort_resolved / classes/datatables/DataTable.php – datatable sort/source configuration
  • datatable_sort_resolved_ / classes/datatables/DataTable.php – datatable sort/source configuration
  • datatable_source_columns / classes/datatables/DataTable.php – datatable sort/source configuration
  • datatable_source_columns_ / classes/datatables/DataTable.php – datatable sort/source configuration
  • datatable_user_class / classes/datatables/UsersDataTable.php, oc-admin/themes/omega/users/index.php – backoffice user list row class
<tr class="<?php echo implode(' ', osc_apply_filter('datatable_user_class', array(), $aRawRows[$key], $row)); ?>">
  • email_admin_new_item_description / emails.php – email body/description before send
  • email_admin_new_item_description_after / emails.php – email content after template processing
  • email_admin_new_item_title / emails.php – email title before send
  • email_admin_new_item_title_after / emails.php – email content after template processing
  • email_admin_user_registration_title / emails.php – email title before send
  • email_admin_user_registration_title_after / emails.php – email content after template processing
  • email_admin_user_regsitration_description / emails.php – email body/description before send
  • email_admin_user_regsitration_description_after / emails.php – email content after template processing
  • email_after_auto_upgrade_description / emails.php – email body/description before send
  • email_after_auto_upgrade_description_after / emails.php – email content after template processing
  • email_after_auto_upgrade_title / emails.php – email title before send
  • email_after_auto_upgrade_title_after / emails.php – email content after template processing
  • email_alert_validation_description / emails.php – email body/description before send
  • email_alert_validation_description_after / emails.php – email content after template processing
  • email_alert_validation_title / emails.php – email title before send
  • email_alert_validation_title_after / emails.php – email content after template processing
  • email_comment_validated_description / emails.php – email body/description before send
  • email_comment_validated_description_after / emails.php – email content after template processing
  • email_comment_validated_title / emails.php – email title before send
  • email_comment_validated_title_after / emails.php – email content after template processing
  • email_description / controller/page.php, emails.php – email body/description before send
  • email_item_inquiry_description / emails.php – email body/description before send
  • email_item_inquiry_description_after / emails.php – email content after template processing
  • email_item_inquiry_title / emails.php – email title before send
  • email_item_inquiry_title_after / emails.php – email content after template processing
  • email_item_validation_description / emails.php – email body/description before send
  • email_item_validation_description_after / emails.php – email content after template processing
  • email_item_validation_non_register_user_description / emails.php – email body/description before send
  • email_item_validation_non_register_user_description_after / emails.php – email content after template processing
  • email_item_validation_non_register_user_title / emails.php – email title before send
  • email_item_validation_non_register_user_title_after / emails.php – email content after template processing
  • email_item_validation_title / emails.php – email title before send
  • email_item_validation_title_after / emails.php – email content after template processing
  • email_legend_init / classes/EmailVariables.php – email template filter
  • email_legend_words / classes/EmailVariables.php – email template filter
  • email_new_admin_description / emails.php – email body/description before send
  • email_new_admin_description_after / emails.php – email content after template processing
  • email_new_admin_title / emails.php – email title before send
  • email_new_admin_title_after / emails.php – email content after template processing
  • email_new_comment_admin_description / emails.php – email body/description before send
  • email_new_comment_admin_description_after / emails.php – email content after template processing
  • email_new_comment_admin_title / emails.php – email title before send
  • email_new_comment_admin_title_after / emails.php – email content after template processing
  • email_new_comment_user_description / emails.php – email body/description before send
  • email_new_comment_user_description_after / emails.php – email content after template processing
  • email_new_comment_user_title / emails.php – email title before send
  • email_new_comment_user_title_after / emails.php – email content after template processing
  • email_new_email_description / emails.php – email body/description before send
  • email_new_email_description_after / emails.php – email content after template processing
  • email_new_email_title / emails.php – email title before send
  • email_new_email_title_after / emails.php – email content after template processing
  • email_new_item_non_register_user_description / emails.php – email body/description before send
  • email_new_item_non_register_user_description_after / emails.php – email content after template processing
  • email_new_item_non_register_user_title / emails.php – email title before send
  • email_new_item_non_register_user_title_after / emails.php – email content after template processing
  • email_send_friend_description / emails.php – email body/description before send
  • email_send_friend_description_after / emails.php – email content after template processing
  • email_send_friend_title / emails.php – email title before send
  • email_send_friend_title_after / emails.php – email content after template processing
  • email_title / emails.php – email title before send
  • email_user_forgot_pass_word_title / emails.php – email title before send
  • email_user_forgot_pass_word_title_after / emails.php – email content after template processing
  • email_user_forgot_password_description / emails.php – email body/description before send
  • email_user_forgot_password_description_after / emails.php – email content after template processing
  • email_user_registration_description / emails.php – email body/description before send
  • email_user_registration_description_after / emails.php – email content after template processing
  • email_user_registration_title / emails.php – email title before send
  • email_user_registration_title_after / emails.php – email content after template processing
  • email_user_validation_description / emails.php – email body/description before send
  • email_user_validation_description_after / emails.php – email content after template processing
  • email_user_validation_title / emails.php – email title before send
  • email_user_validation_title_after / emails.php – email content after template processing
  • email_warn_expiration_description / emails.php – email body/description before send
  • email_warn_expiration_description_after / emails.php – email content after template processing
  • email_warn_expiration_title / emails.php – email title before send
  • email_warn_expiration_title_after / emails.php – email content after template processing
  • field_bulk_filter / oc-admin/custom_fields.php – bulk action options on admin list page
  • fields_processing_row / classes/datatables/FieldsDataTable.php – modify admin datatable row HTML
  • find_item_types_by_user_id_options / model/Item.php – content filter hook
  • flash_message_text / helpers/hMessages.php – content filter hook
  • friendly_param_to_raw / helpers/hSearch.php – content filter hook
  • friendly_param_value_to_raw / helpers/hSearch.php – content filter hook
  • get_translations / helpers/hTranslations.php – content filter hook
  • gettext / helpers/hTranslations.php – content filter hook
  • image_uploader_compression / frm/Item.form.class.php – content filter hook
  • init_send_mail / utils.php – content filter hook
  • ipdata_service_map / functions.php – content filter hook
  • item_add_prepare_data / ItemActions.php – item data or display filter
  • item_bulk_filter / oc-admin/items.php – bulk action options on admin list page
  • item_contact_email / helpers/hItems.php – item contact email (Osclass 8.0.2)
  • item_contact_name / helpers/hItems.php – item contact name (Osclass 8.0.2)
  • item_contact_other / helpers/hItems.php – item contact other field (Osclass 8.0.2)
  • item_contact_phone / helpers/hItems.php – item contact phone (Osclass 8.0.2)
  • item_delete_image / controller/ajax.php – run when item image is removed via ajax; return false to block removal
  • item_description / controller/item.php, model/Item.php – affects the description of the item
  • item_edit_data / ItemActions.php – item data or display filter
  • item_edit_image_data / ItemActions.php – item data or display filter
  • item_edit_location_data / ItemActions.php – item data or display filter
  • item_edit_meta_data / ItemActions.php – item data or display filter
  • item_edit_prepare_data / ItemActions.php – item data or display filter
  • item_post_data / ItemActions.php – item data or display filter
  • item_post_email_data / ItemActions.php – item data or display filter
  • item_post_image_data / ItemActions.php – item data or display filter
  • item_post_location_data / ItemActions.php – item data or display filter
  • item_post_meta_data / ItemActions.php – item data or display filter
  • item_prepare_data / ItemActions.php – item data or display filter
  • item_price / helpers/hItems.php – formatted item price output
  • item_price_null / helpers/hItems.php – text shown when item price is null
  • item_price_zero / helpers/hItems.php – text shown when item price is zero
  • item_stats_increase / model/ItemStats.php – modify stat value before increase/decrease (Osclass 8.3)
  • item_table_row_status / classes/datatables/ItemsDataTable.php – item data or display filter
  • item_title / controller/item.php, model/Item.php – affects the title of the item
  • items_processing_reported_row / classes/datatables/ItemsDataTable.php – content filter hook
  • items_processing_row / classes/datatables/ItemsDataTable.php – modify admin datatable row HTML
  • language_bulk_filter / oc-admin/languages.php – bulk action options on admin list page
  • languages_processing_row / classes/datatables/LanguagesDataTable.php – modify admin datatable row HTML
  • limit_alert_items / controller/user.php – number of listings returned with each alert (default 12, Osclass 8.0.2)
  • login_admin_image / oc-admin/login.php – content filter hook
  • login_admin_title / oc-admin/login.php – content filter hook
  • login_admin_url / oc-admin/login.php – content filter hook
  • logs_bulk_filter / oc-admin/tools.php – bulk action options on admin list page
  • mail_from / utils.php – content filter hook
  • mail_from_name / utils.php – content filter hook
  • media_bulk_filter / oc-admin/media.php – bulk action options on admin list page
  • media_processing_row / classes/datatables/MediaDataTable.php – modify admin datatable row HTML
  • message_key / core/Session.php – content filter hook
  • meta_description_filter / functions.php – page meta description
  • meta_keywords_filter / functions.php – page meta keywords
  • meta_title_filter / functions.php, gui/user-alerts.php, gui/user-change_email.php, ... – page meta title
  • mo_core_messages_path / core/Translation.php – content filter hook
  • mo_core_path / core/Translation.php – content filter hook
  • mo_plugin_path / core/Translation.php – content filter hook
  • mo_theme_messages_path / core/Translation.php – content filter hook
  • mo_theme_path / core/Translation.php – content filter hook
  • moderator_access / core/AdminSecBaseModel.php – allowed admin pages for moderator role
  • more_actions_manage_admins / classes/datatables/AdminsDataTable.php – more actions list on admin datatable
  • more_actions_manage_items / classes/datatables/ItemsDataTable.php – more actions list on admin datatable
  • more_actions_manage_logs / classes/datatables/LogsDataTable.php – more actions list on admin datatable
  • more_actions_manage_rules / classes/datatables/BanRulesDataTable.php – more actions list on admin datatable
  • more_actions_manage_users / classes/datatables/UsersDataTable.php – more actions list on admin datatable
  • ngettext / helpers/hTranslations.php – content filter hook
  • osc_add_flash_message_value / helpers/hMessages.php – Osclass core helper filter
  • osc_default_order_field_at_search / helpers/hPreference.php – Osclass core helper filter
  • osc_default_order_type_at_search / helpers/hPreference.php – Osclass core helper filter
  • osc_default_show_as_at_search / helpers/hPreference.php – Osclass core helper filter
  • osc_generate_alert_name / functions.php – Osclass core helper filter
  • osc_get_canonical / functions.php, helpers/hSearch.php – get canonical URL from view
  • osc_ip_lookup_url / utils.php – Osclass core helper filter
  • osc_item_edit_meta_textarea_value_filter / frm/Field.form.class.php – Osclass core helper filter
  • osc_item_meta_textarea_value_filter / helpers/hItems.php – Osclass core helper filter
  • osc_item_meta_value_filter / helpers/hItems.php – Osclass core helper filter
  • osc_item_meta_value_pre_filter / helpers/hItems.php – Osclass core helper filter
  • osc_resolve_user_id / utils.php – Osclass core helper filter
  • osc_show_flash_message / helpers/hMessages.php – Osclass core helper filter
  • osc_static_page_visibility_options / helpers/hPage.php – enrich static page visibility options
  • page_bulk_filter / oc-admin/pages.php – bulk action options on admin list page
  • page_templates / oc-admin/pages.php – content filter hook
  • page_visibility_custom_check / functions.php – custom static page visibility validation
  • pages_processing_row / classes/datatables/PagesDataTable.php – modify admin datatable row HTML
  • plugin_bulk_filter / oc-admin/plugins.php – bulk action options on admin list page
  • pre_item_add_error / ItemActions.php – content filter hook
  • pre_item_edit_error / ItemActions.php – content filter hook
  • pre_send_mail / utils.php – content filter hook
  • pre_send_mail_filter / utils.php – return array(stop=>true) to cancel email send (Osclass 8.3)
  • pre_show_item / controller/item.php – content filter hook
  • pre_show_items / controller/search.php – content filter hook
  • public_items_per_page / controller/user-non-secure.php – content filter hook
  • render-wrapper / oc-admin/themes/omega/items/frm.php, oc-admin/themes/omega/main/index.php, oc-admin/themes/omega/parts/header.php, ... – admin content wrapper CSS class
  • resource_original_url / helpers/hItems.php – content filter hook
  • resource_path / alerts.php, alerts_backup.php, classes/datatables/MediaDataTable.php, ... – affects the resource path
  • resource_preview_url / helpers/hItems.php – content filter hook
  • resource_thumbnail_url / alerts.php, alerts_backup.php, classes/datatables/MediaDataTable.php, ... – content filter hook
  • resource_url / helpers/hItems.php – content filter hook
  • rewrite_routes_array_get / classes/Rewrite.php – content filter hook
  • rewrite_rules_array_init / classes/Rewrite.php, functions.php – rewrite rules read from DB on initialize
  • rewrite_rules_array_save / classes/Rewrite.php – rewrite rules right before save into database
  • rss_add_item / classes/RSSFeed.php – single item added into RSS (Osclass 8.2.0)
  • rss_items / classes/RSSFeed.php – all RSS items before loop (Osclass 8.2.0)
  • rtl_lang_codes / helpers/hDefines.php – content filter hook
  • rules_processing_row / classes/datatables/BanRulesDataTable.php, classes/datatables/LogsDataTable.php – modify admin datatable row HTML
  • save_latest_searches_pattern / controller/search.php, functions.php – content filter hook
  • search_alert_url / helpers/hUsers.php – search URL, pattern or query filter
  • search_cond_pattern / model/Search.php – search URL, pattern or query filter
  • search_do_search_items / model/Search.php – search URL, pattern or query filter
  • search_do_search_sql / model/Search.php – search URL, pattern or query filter
  • search_engine_param_name / controller/search.php – search URL, pattern or query filter
  • search_engine_param_value / controller/search.php – search URL, pattern or query filter
  • search_item_types / frm/User.form.class.php – search URL, pattern or query filter
  • search_list_columns / model/Search.php – allowed sort columns for search (Osclass 8.0.2)
  • search_list_orders / helpers/hSearch.php – predefined search order options (Osclass 8.0.2)
  • search_list_types / model/Search.php – allowed sort types asc/desc (Osclass 8.0.2)
  • search_next_url / helpers/hSearch.php – search URL, pattern or query filter
  • search_param_value_to_slug / helpers/hSearch.php – search URL, pattern or query filter
  • search_pattern / controller/search.php, helpers/hSearch.php – search URL, pattern or query filter
  • search_prev_url / helpers/hSearch.php – search URL, pattern or query filter
  • search_select_pattern / model/Search.php – search URL, pattern or query filter
  • search_subdomain_filter / model/Search.php – search URL, pattern or query filter
  • search_title / functions.php – search URL, pattern or query filter
  • search_url / helpers/hSearch.php – search URL, pattern or query filter
  • search_url_param_meta_name / helpers/hSearch.php – search URL, pattern or query filter
  • search_url_param_meta_value / helpers/hSearch.php – search URL, pattern or query filter
  • search_url_param_name / helpers/hSearch.php – search URL, pattern or query filter
  • search_url_param_value / helpers/hSearch.php – search URL, pattern or query filter
  • shutdown_functions / utils.php – content filter hook
  • sigma_bodyClass / gui/functions.php, oc-content/themes/functions.php – default theme body CSS classes
  • slug / model/Category.php, utils.php – change category slug (useful for special characters)
  • sql_search_conditions / model/Search.php – Search model SQL fragment filter
  • sql_search_conditions_fields / model/Search.php – Search model SQL fragment filter
  • sql_search_fields / model/Search.php – Search model SQL fragment filter
  • sql_search_item_conditions / model/Search.php – Search model SQL fragment filter
  • structured_data_description_filter / structured-data.php – structured data JSON-LD customization
  • structured_data_image_filter / structured-data.php – structured data JSON-LD customization
  • structured_data_rating_best / structured-data.php – structured data JSON-LD customization
  • structured_data_rating_count / structured-data.php – structured data JSON-LD customization
  • structured_data_rating_value / structured-data.php – structured data JSON-LD customization
  • structured_data_rating_worst / structured-data.php – structured data JSON-LD customization
  • structured_data_show_footer_filter / structured-data.php – structured data JSON-LD customization
  • structured_data_show_header_filter / structured-data.php – structured data JSON-LD customization
  • structured_data_title_filter / structured-data.php – structured data JSON-LD customization
  • structured_data_type_filter / structured-data.php – structured data JSON-LD customization
  • structured_data_url_filter / structured-data.php – structured data JSON-LD customization
  • style_url / classes/Styles.php – content filter hook
  • subdomain_top_url / helpers/hDefines.php – content filter hook
  • theme / core/Translation.php – content filter hook
  • theme_attributes / classes/Scripts.php – content filter hook
  • theme_url / classes/Scripts.php, Themes.php, WebThemes.php – content filter hook
  • tinymce_accepted_origins / oc-admin/themes/omega/tinyMceUploader.php – TinyMCE uploader or editor filter
  • tinymce_allowed_extensions / oc-admin/themes/omega/tinyMceUploader.php – TinyMCE uploader or editor filter
  • tinymce_file_name / oc-admin/themes/omega/tinyMceUploader.php – TinyMCE uploader or editor filter
  • tinymce_image_folder_path / oc-admin/themes/omega/tinyMceUploader.php – TinyMCE uploader or editor filter
  • tinymce_image_folder_url / oc-admin/themes/omega/tinyMceUploader.php – TinyMCE uploader or editor filter
  • tinymce_item_script / functions.php – TinyMCE uploader or editor filter
  • tinymce_user_script / functions.php – TinyMCE uploader or editor filter
  • upload_image_extension / ItemActions.php – content filter hook
  • upload_image_mime / ItemActions.php – content filter hook
  • uploader_max_image_size / functions.php – content filter hook
  • user_add_flash_error / UserActions.php – user data, URL or display filter
  • user_agents / utils.php – user data, URL or display filter
  • user_alert_name / helpers/hUsers.php – user data, URL or display filter
  • user_bulk_filter / oc-admin/users.php – bulk action options on admin list page
  • user_edit_data / UserActions.php – user data, URL or display filter
  • user_edit_flash_error / UserActions.php – user data, URL or display filter
  • user_info / helpers/hUsers.php – user data, URL or display filter
  • user_insert_data / UserActions.php – user data, URL or display filter
  • user_items_custom_conditions_and / controller/user.php – user data, URL or display filter
  • user_items_custom_conditions_or / controller/user.php – user data, URL or display filter
  • user_items_pattern / helpers/hDefines.php – user data, URL or display filter
  • user_items_per_page / controller/user.php – listings per page on user items page (Osclass 8.3)
  • user_items_search_cond_pattern / model/Item.php – user data, URL or display filter
  • user_items_url / helpers/hDefines.php – user data, URL or display filter
  • user_menu_filter / helpers/hUtils.php – user data, URL or display filter
  • user_profile_img_path / helpers/hUsers.php – user data, URL or display filter
  • user_profile_img_url / helpers/hUsers.php – user data, URL or display filter
  • user_profile_info / controller/user.php – user data, URL or display filter
  • user_public_profile_custom_conditions_and / controller/user-non-secure.php – user data, URL or display filter
  • user_public_profile_custom_conditions_or / controller/user-non-secure.php – user data, URL or display filter
  • user_public_profile_is_enabled / helpers/hUsers.php – user data, URL or display filter
  • user_public_profile_items_per_page / controller/user-non-secure.php – listings per page on public profile (Osclass 8.3)
  • user_public_profile_pattern / helpers/hDefines.php – user data, URL or display filter
  • user_public_profile_url / helpers/hDefines.php – user data, URL or display filter
  • user_update_description / UserActions.php – user data, URL or display filter
  • users_processing_row / classes/datatables/UsersDataTable.php – modify admin datatable row HTML
  • watermark_font_path / classes/ImageProcessing.php – content filter hook
  • watermark_font_size / classes/ImageProcessing.php – content filter hook
  • watermark_text_value / classes/ImageProcessing.php – content filter hook
  • widget_content / functions.php, helpers/hUtils.php – applied on widget content if not empty
  • widget_content_wrap / functions.php – applied on widget content after wrapped into div

TinyMCE image uploader related filters (oc-admin/themes/omega/):

  • tinymce_accepted_origins / oc-admin/themes/omega/tinyMceUploader.php – allowed request origins for image upload
  • tinymce_allowed_extensions / oc-admin/themes/omega/tinyMceUploader.php – allowed image file extensions
  • tinymce_image_folder_path / oc-admin/themes/omega/tinyMceUploader.php – server path for uploaded images
  • tinymce_image_folder_url / oc-admin/themes/omega/tinyMceUploader.php – public URL for uploaded images
  • tinymce_file_name / oc-admin/themes/omega/tinyMceUploader.php – uploaded file name

Dynamic filter patterns

  • current_admin_menu_{slug} / helpers/hAdminMenu.php – active admin menu CSS class per menu slug
  • datatable_sort_columns_{key}, datatable_sort_resolved_{key}, datatable_source_columns_{key} / classes/datatables/DataTable.php – per-datatable sort/source config
  • datatable_{configId}_class / classes/datatables/CustomDataTable.php – custom datatable row class per config id
  • custom_datatable_params_{id}, custom_datatable_columns_{id}, custom_datatable_row_{id}, custom_datatable_row_actions_{id} / classes/datatables/CustomDataTable.php – custom datatable hooks per config id
  • Variable hook / helpers/hCustomDataTable.php – row class filter name passed as $rowClassFilter

Extract of all known filters from code

  • actions_manage_admins
  • actions_manage_alerts
  • actions_manage_items
  • actions_manage_logs
  • actions_manage_rules
  • actions_manage_users
  • admin_base_url
  • admin_body_class
  • admin_bulk_filter
  • admin_dialog_delete_listing_text
  • admin_dialog_elete_listing_title
  • admin_favicons
  • admin_item_description
  • admin_item_title
  • admin_items_reported_sort_columns
  • admin_items_reported_sort_resolved
  • admin_items_sort_columns
  • admin_items_sort_resolved
  • admin_items_source_columns
  • admin_page_description
  • admin_page_title
  • admin_title
  • admin_tools_log_files
  • admin_user_profile_info
  • admins_processing_row
  • alert_change_expiration
  • alert_change_expiration_url
  • alert_change_frequency
  • alert_change_frequency_url
  • alert_email_daily_description
  • alert_email_daily_description_after
  • alert_email_daily_title
  • alert_email_daily_title_after
  • alert_email_hourly_description
  • alert_email_hourly_description_after
  • alert_email_hourly_title
  • alert_email_hourly_title_after
  • alert_email_instant_description
  • alert_email_instant_description_after
  • alert_email_instant_title
  • alert_email_instant_title_after
  • alert_email_weekly_description
  • alert_email_weekly_description_after
  • alert_email_weekly_title
  • alert_email_weekly_title_after
  • alert_pre_save
  • alert_pre_save_name
  • alert_pre_save_params
  • alert_pre_save_sql
  • alert_pre_save_type
  • alert_skip_params
  • alert_stats_increase
  • alert_types
  • alerts_processing_row
  • allowed_mime_types
  • assets_url
  • available_image_upload_extensions
  • ban_rule_bulk_filter
  • base_url
  • before_contact
  • before_send_friend
  • before_validate_contact
  • breadcrumbs_page_title_filter
  • canonical_url
  • canonical_url_public_profile
  • canonical_url_search
  • categories_processing_row
  • category_bulk_filter
  • comment_bulk_filter
  • comment_insert_data
  • comments_processing_row
  • contact_params
  • correct_login_url_redirect
  • currencies_processing_row
  • current_admin_menu_
  • custom_appearance_title
  • custom_datatable_columns_
  • custom_datatable_config
  • custom_datatable_params_
  • custom_datatable_row_
  • custom_datatable_row_actions_
  • custom_plugin_title
  • datatable_alert_class
  • datatable_categories_class
  • datatable_comment_class
  • datatable_currencies_class
  • datatable_fields_class
  • datatable_languages_class
  • datatable_listing_class
  • datatable_sort_columns
  • datatable_sort_columns_
  • datatable_sort_resolved
  • datatable_sort_resolved_
  • datatable_source_columns
  • datatable_source_columns_
  • datatable_user_class
  • email_admin_new_item_description
  • email_admin_new_item_description_after
  • email_admin_new_item_title
  • email_admin_new_item_title_after
  • email_admin_user_registration_title
  • email_admin_user_registration_title_after
  • email_admin_user_regsitration_description
  • email_admin_user_regsitration_description_after
  • email_after_auto_upgrade_description
  • email_after_auto_upgrade_description_after
  • email_after_auto_upgrade_title
  • email_after_auto_upgrade_title_after
  • email_alert_validation_description
  • email_alert_validation_description_after
  • email_alert_validation_title
  • email_alert_validation_title_after
  • email_comment_validated_description
  • email_comment_validated_description_after
  • email_comment_validated_title
  • email_comment_validated_title_after
  • email_description
  • email_item_inquiry_description
  • email_item_inquiry_description_after
  • email_item_inquiry_title
  • email_item_inquiry_title_after
  • email_item_validation_description
  • email_item_validation_description_after
  • email_item_validation_non_register_user_description
  • email_item_validation_non_register_user_description_after
  • email_item_validation_non_register_user_title
  • email_item_validation_non_register_user_title_after
  • email_item_validation_title
  • email_item_validation_title_after
  • email_legend_init
  • email_legend_words
  • email_new_admin_description
  • email_new_admin_description_after
  • email_new_admin_title
  • email_new_admin_title_after
  • email_new_comment_admin_description
  • email_new_comment_admin_description_after
  • email_new_comment_admin_title
  • email_new_comment_admin_title_after
  • email_new_comment_user_description
  • email_new_comment_user_description_after
  • email_new_comment_user_title
  • email_new_comment_user_title_after
  • email_new_email_description
  • email_new_email_description_after
  • email_new_email_title
  • email_new_email_title_after
  • email_new_item_non_register_user_description
  • email_new_item_non_register_user_description_after
  • email_new_item_non_register_user_title
  • email_new_item_non_register_user_title_after
  • email_send_friend_description
  • email_send_friend_description_after
  • email_send_friend_title
  • email_send_friend_title_after
  • email_title
  • email_user_forgot_pass_word_title
  • email_user_forgot_pass_word_title_after
  • email_user_forgot_password_description
  • email_user_forgot_password_description_after
  • email_user_registration_description
  • email_user_registration_description_after
  • email_user_registration_title
  • email_user_registration_title_after
  • email_user_validation_description
  • email_user_validation_description_after
  • email_user_validation_title
  • email_user_validation_title_after
  • email_warn_expiration_description
  • email_warn_expiration_description_after
  • email_warn_expiration_title
  • email_warn_expiration_title_after
  • field_bulk_filter
  • fields_processing_row
  • find_item_types_by_user_id_options
  • flash_message_text
  • friendly_param_to_raw
  • friendly_param_value_to_raw
  • get_translations
  • gettext
  • image_uploader_compression
  • init_send_mail
  • ipdata_service_map
  • item_add_prepare_data
  • item_bulk_filter
  • item_contact_email
  • item_contact_name
  • item_contact_other
  • item_contact_phone
  • item_delete_image
  • item_description
  • item_edit_data
  • item_edit_image_data
  • item_edit_location_data
  • item_edit_meta_data
  • item_edit_prepare_data
  • item_post_data
  • item_post_email_data
  • item_post_image_data
  • item_post_location_data
  • item_post_meta_data
  • item_prepare_data
  • item_price
  • item_price_null
  • item_price_zero
  • item_stats_increase
  • item_table_row_status
  • item_title
  • items_processing_reported_row
  • items_processing_row
  • language_bulk_filter
  • languages_processing_row
  • limit_alert_items
  • login_admin_image
  • login_admin_title
  • login_admin_url
  • logs_bulk_filter
  • mail_from
  • mail_from_name
  • media_bulk_filter
  • media_processing_row
  • message_key
  • meta_description_filter
  • meta_keywords_filter
  • meta_title_filter
  • mo_core_messages_path
  • mo_core_path
  • mo_plugin_path
  • mo_theme_messages_path
  • mo_theme_path
  • moderator_access
  • more_actions_manage_admins
  • more_actions_manage_items
  • more_actions_manage_logs
  • more_actions_manage_rules
  • more_actions_manage_users
  • ngettext
  • osc_add_flash_message_value
  • osc_default_order_field_at_search
  • osc_default_order_type_at_search
  • osc_default_show_as_at_search
  • osc_generate_alert_name
  • osc_get_canonical
  • osc_ip_lookup_url
  • osc_item_edit_meta_textarea_value_filter
  • osc_item_meta_textarea_value_filter
  • osc_item_meta_value_filter
  • osc_item_meta_value_pre_filter
  • osc_resolve_user_id
  • osc_show_flash_message
  • osc_static_page_visibility_options
  • page_bulk_filter
  • page_templates
  • page_visibility_custom_check
  • pages_processing_row
  • plugin_bulk_filter
  • pre_item_add_error
  • pre_item_edit_error
  • pre_send_mail
  • pre_send_mail_filter
  • pre_show_item
  • pre_show_items
  • public_items_per_page
  • render-wrapper
  • resource_original_url
  • resource_path
  • resource_preview_url
  • resource_thumbnail_url
  • resource_url
  • rewrite_routes_array_get
  • rewrite_rules_array_init
  • rewrite_rules_array_save
  • rss_add_item
  • rss_items
  • rtl_lang_codes
  • rules_processing_row
  • save_latest_searches_pattern
  • search_alert_url
  • search_cond_pattern
  • search_do_search_items
  • search_do_search_sql
  • search_engine_param_name
  • search_engine_param_value
  • search_item_types
  • search_list_columns
  • search_list_orders
  • search_list_types
  • search_next_url
  • search_param_value_to_slug
  • search_pattern
  • search_prev_url
  • search_select_pattern
  • search_subdomain_filter
  • search_title
  • search_url
  • search_url_param_meta_name
  • search_url_param_meta_value
  • search_url_param_name
  • search_url_param_value
  • shutdown_functions
  • sigma_bodyClass
  • slug
  • sql_search_conditions
  • sql_search_conditions_fields
  • sql_search_fields
  • sql_search_item_conditions
  • structured_data_description_filter
  • structured_data_image_filter
  • structured_data_rating_best
  • structured_data_rating_count
  • structured_data_rating_value
  • structured_data_rating_worst
  • structured_data_show_footer_filter
  • structured_data_show_header_filter
  • structured_data_title_filter
  • structured_data_type_filter
  • structured_data_url_filter
  • style_url
  • subdomain_top_url
  • theme
  • theme_attributes
  • theme_url
  • tinymce_accepted_origins
  • tinymce_allowed_extensions
  • tinymce_file_name
  • tinymce_image_folder_path
  • tinymce_image_folder_url
  • tinymce_item_script
  • tinymce_user_script
  • upload_image_extension
  • upload_image_mime
  • uploader_max_image_size
  • user_add_flash_error
  • user_agents
  • user_alert_name
  • user_bulk_filter
  • user_edit_data
  • user_edit_flash_error
  • user_info
  • user_insert_data
  • user_items_custom_conditions_and
  • user_items_custom_conditions_or
  • user_items_pattern
  • user_items_per_page
  • user_items_search_cond_pattern
  • user_items_url
  • user_menu_filter
  • user_profile_img_path
  • user_profile_img_url
  • user_profile_info
  • user_public_profile_custom_conditions_and
  • user_public_profile_custom_conditions_or
  • user_public_profile_is_enabled
  • user_public_profile_items_per_page
  • user_public_profile_pattern
  • user_public_profile_url
  • user_update_description
  • users_processing_row
  • watermark_font_path
  • watermark_font_size
  • watermark_text_value
  • widget_content
  • widget_content_wrap

List of default Osclass rewrite rules

[^contact/?$] => index.php?page=contact
[^feed/?$] => index.php?page=search&sFeed=rss
[^feed/(.+)/?$] => index.php?page=search&sFeed=$1
[^language/(.*?)/?$] => index.php?page=language&locale=$1
[^search$] => index.php?page=search
[^search/(.*)$] => index.php?page=search&sParams=$1
[^item/mark/(.*?)/([0-9]+)/?$] => index.php?page=item&action=mark&as=$1&id=$2
[^item/send-friend/([0-9]+)/?$] => index.php?page=item&action=send_friend&id=$1
[^item/contact/([0-9]+)/?$] => index.php?page=item&action=contact&id=$1
[^item/new/?$] => index.php?page=item&action=item_add
[^item/new/([0-9]+)/?$] => index.php?page=item&action=item_add&catId=$1
[^item/activate/([0-9]+)/(.*?)/?$] => index.php?page=item&action=activate&id=$1&secret=$2
[^item/deactivate/([0-9]+)/(.*?)/?$] => index.php?page=item&action=deactivate&id=$1&secret=$2
[^item/renew/([0-9]+)/(.*?)/?$] => index.php?page=item&action=renew&id=$1&secret=$2
[^item/edit/([0-9]+)/(.*?)/?$] => index.php?page=item&action=item_edit&id=$1&secret=$2
[^item/delete/([0-9]+)/(.*?)/?$] => index.php?page=item&action=item_delete&id=$1&secret=$2
[^resource/delete/([0-9]+)/([0-9]+)/([0-9A-Za-z]+)/?(.*?)/?$] => index.php?page=item&action=deleteResource&id=$1&item=$2&code=$3&secret=$4
[^([a-z]{2})_([A-Z]{2})/.*/.*_i([0-9]+)\?comments-page=([0-9al]*)$] => index.php?page=item&id=$3&lang=$1_$2&comments-page=$4
[^.*/.*_i([0-9]+)\?comments-page=([0-9al]*)$] => index.php?page=item&id=$1&comments-page=$2
[^([a-z]{2})_([A-Z]{2})/.*/.*_i([0-9]+)$] => index.php?page=item&id=$3&lang=$1_$2
[^.*/.*_i([0-9]+)$] => index.php?page=item&id=$1
[^user/login/?$] => index.php?page=login
[^user/dashboard/?$] => index.php?page=user&action=dashboard
[^user/logout/?$] => index.php?page=main&action=logout
[^user/register/?$] => index.php?page=register&action=register
[^user/activate/([0-9]+)/(.*?)/?$] => index.php?page=register&action=validate&id=$1&code=$2
[^alert/confirm/([0-9]+)/([a-zA-Z0-9]+)/(.+)$] => index.php?page=user&action=activate_alert&id=$1&email=$3&secret=$2
[^user/profile/?$] => index.php?page=user&action=profile
[^user/profile/([0-9]+)/?$] => index.php?page=user&action=pub_profile&id=$1
[^user/profile/(.+)/?$] => index.php?page=user&action=pub_profile&username=$1
[^user/items/?$] => index.php?page=user&action=items
[^user/alerts/?$] => index.php?page=user&action=alerts
[^user/recover/?$] => index.php?page=login&action=recover
[^user/forgot/([0-9]+)/(.*)/?$] => index.php?page=login&action=forgot&userId=$1&code=$2
[^password/change/?$] => index.php?page=user&action=change_password
[^email/change/?$] => index.php?page=user&action=change_email
[^username/change/?$] => index.php?page=user&action=change_username
[^email/confirm/([0-9]+)/(.*?)/?$] => index.php?page=user&action=change_email_confirm&userId=$1&code=$2
[^([\p{L}\p{N}_\-,]+)-p([0-9]+)/?$] => index.php?page=page&id=$2&slug=$1
[^([a-z]{2})_([A-Z]{2})/([\p{L}\p{N}_\-,]+)-p([0-9]+)/?$] => index.php?page=page&lang=$1_$2&id=$4&slug=$3
[^([a-z]{2})-([A-Z]{2})/([\p{L}\p{N}_\-,]+)-p([0-9]+)/?$] => index.php?page=page&lang=$1_$2&id=$4&slug=$3
[^([a-z]{2})/([\p{L}\p{N}_\-,]+)-p([0-9]+)/?$] => index.php?page=page&lang=$1&id=$3&slug=$2
[^(.+?)\.php(.*)$] => $1.php$2
[^(.+)/([0-9]+)$] => index.php?page=search&iPage=$2
[^(.+)/?$] => index.php?page=search&sCategory=$1
[^(.+)$] => index.php?page=search