Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure P2P init hook was invoked before indexing.
Fix a case where P2P connexions are not registered when trying to index P2P facets. This is due to FacetWP ajax handler running its actions on "init" hook which come before P2P has the chance of running its action "p2p_init". A check has been added in the two custom index processor to trigger the P2P hook if it didn't already run.
- Loading branch information