I’m trying to get the post ID ({{live_post_id}}) inside a Pro Forms “Custom” action, which uses the bricks/form/custom_action hook.
When I use the variable directly, it doesn’t seem to be processed. Instead of the actual post ID value, I receive the literal text “{{live_post_id}}”.
My goal is to pass this ID to my custom PHP code. Is there a specific function or method to retrieve the processed value of {{live_post_id}} within the function that runs on this hook?