Skip to main content

Backwards compatibility

SearchSync was previously called Tangible Algolia. The old names still work, so existing sites and custom code keep running.

WhatOld nameNew nameStatus
Shortcodestgbl_algolia_*tgbl_searchsync_*Permanent aliases
PHP classesTangible\Algolia\*Tangible\SearchSync\*Aliased for one major version
PHP hookstgbl_alg_*, tgbl_ss_*tangible_searchsync_*Both run; the new name runs last
JS hit template filtertangible-algolia-hit-templatetangible_searchsync_hit_templateBoth run
JS preselect filtertangible-algolia-preselect-refinementsearchsync.filters.preselectBoth run
Instances globalwindow.tangibleAlgoliaInstanceswindow.tangibleSearchsyncInstancesBoth set
Instance eventalgoliaInstanceCreatedsearchsyncInstanceCreatedBoth fired

Some CSS classes, such as algolia-widget, kept their old names on purpose so existing theme styles don't break.