Action that is triggered at the end of the page load for the template used for the Form Pages addon.


This action does not accept any parameters.

More Information

This action works much like the standard WordPress wp_footer action. It will run at the end of the page load, but specifically for the wpforms_form_pages_footer action, it will only fire on the form page template.

This is especially useful if you have any custom JavaScript for the template used with the Form Page addon.




 * Action to be called once Form Page has completely loaded
 * @link
function wpf_dev_form_pages_script() {

    //Run code

add_action( 'wpforms_form_pages_footer', 'wpf_dev_form_pages_script', 30 );

Snippet Reference: How to Add JavaScript to a Page When Using the Form Pages Addon