Backwards compatibility
SearchSync was previously called Tangible Algolia. The old names still work, so existing sites and custom code keep running.
| What | Old name | New name | Status |
|---|---|---|---|
| Shortcodes | tgbl_algolia_* | tgbl_searchsync_* | Permanent aliases |
| PHP classes | Tangible\Algolia\* | Tangible\SearchSync\* | Aliased for one major version |
| PHP hooks | tgbl_alg_*, tgbl_ss_* | tangible_searchsync_* | Both run; the new name runs last |
| JS hit template filter | tangible-algolia-hit-template | tangible_searchsync_hit_template | Both run |
| JS preselect filter | tangible-algolia-preselect-refinement | searchsync.filters.preselect | Both run |
| Instances global | window.tangibleAlgoliaInstances | window.tangibleSearchsyncInstances | Both set |
| Instance event | algoliaInstanceCreated | searchsyncInstanceCreated | Both fired |
Some CSS classes, such as algolia-widget, kept their old names on purpose so existing theme styles don't break.