Action fires after a form is displayed on the site’s frontend, and the form was created with the Form Pages addon.


This action does not accept any parameters.

More Information

The wpforms_form_pages_content_after only fires for valid non-empty forms, it executes after the output rendering process for forms created with the Form Pages addon.

An alternate action to consider is wpforms_form_pages_content_before, as it functions similarly, except only fires before the form is displayed.




You could use this action to display a video, more content, or a link after the Form Pages form.

 * Output something after your Form Pages form(s).
 * @link
function wpf_dev_form_pages_content_after( ) {
    // Run code.
    echo '<iframe width="660" height="315" src="" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>';

add_action( 'wpforms_form_pages_content_after', 'wpf_dev_form_pages_content_after' );

You can display anything after the Form Pages form using the wpforms_form_pages_content_after action