To make things easier to developers, we’ve patterned things to how WordPress does things – via hooks!
In WordPress, you typically use the functions
add_action() to modify or add to the behavior of WP. Similarly in PBS, you can use
- pbs.save.payload – “period-case”, a JS hook
- pbs_save_content_data – snake case, a PHP hook