WAIT: What is the hook name for Save button within Bricks? (need to add it to purge cache on Bricks save)

Anybody can help me with the name of the hook that I could add to Litespeed cache > Purge tab? I wanted to add this hook to automatically purge cache when any changes within bricks editor window are saved. Currently, I use save_page hook but this only works when I click in classic editor Update

Facing the same issue. Did you ever find a solution, or is it possible at all?

Try with wp_ajax_bricks_save_post

sorry to be so late, so today i got to test it again and somehow i dont need to setup any hooks, with the current setup any changes on the page done via Bricks builder are updated instantly. perhaps when i wrote this question it did not work with the bricks version at that time. ??

thanks for this hint, I have had another go with litespeed settings and bricks setup and indeed your suggestion works. I added “wp_ajax_bricks_save_post” to Purge All Hooks page in LS plugin and any changes saved within Bricks are instantly refreshed.

@Thuesen

2 Likes

Thanks for the ping @Daz, this worked for me as well!

will save me so much time… thanks !!