Title: No render hook when using shortcode
Last modified: November 3, 2021

---

# No render hook when using shortcode

 *  Resolved [Furo](https://wordpress.org/support/users/furocan/)
 * (@furocan)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/no-render-hook-when-using-shortcode/)
 * Hi,
 * it looks like the action hook “af/form/render” is only used when calling the 
   function “advanced_form” but it’s not firing when using the shortcode method.
 * Is there a reason for that behavior?

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [fabianlindfors](https://wordpress.org/support/users/fabianlindfors/)
 * (@fabianlindfors)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/no-render-hook-when-using-shortcode/#post-15052678)
 * Hi!
 * No reason really, seems like I designed it weirdly when I first built Advanced
   Forms (old code). May I ask what you need “af/form/render” for? 🙂
 *  Thread Starter [Furo](https://wordpress.org/support/users/furocan/)
 * (@furocan)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/no-render-hook-when-using-shortcode/#post-15053795)
 * ok, that was my guess too.
 * I want to display automatically some html content after a certain form but not
   within the <form> tag.
 * I created a workaround but maybe it’s something that can added in the future?
   
   Or do you know a hook that’s fit better?
 *  Plugin Author [fabianlindfors](https://wordpress.org/support/users/fabianlindfors/)
 * (@fabianlindfors)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/no-render-hook-when-using-shortcode/#post-15177869)
 * Hi again! Sorry about the late reply :/
 * I’ve added a new action for this, called “af/form/after”. You can get it now 
   by grabbing the latest version of the plugin from Github: [https://github.com/advancedforms/advanced-forms/commit/68920b0d1389f6c96a18f7fba21ce5d2ed499e14](https://github.com/advancedforms/advanced-forms/commit/68920b0d1389f6c96a18f7fba21ce5d2ed499e14)
 * All the best,
    Fabian
 *  Thread Starter [Furo](https://wordpress.org/support/users/furocan/)
 * (@furocan)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/no-render-hook-when-using-shortcode/#post-15179691)
 * Hey,
 * thank you very much for this adjustment!
    Can you already estimate when a release
   will be available? A rough statement is completely sufficient, I just need to
   know whether it is a matter of days, weeks or months.
 *  Plugin Author [fabianlindfors](https://wordpress.org/support/users/fabianlindfors/)
 * (@fabianlindfors)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/no-render-hook-when-using-shortcode/#post-15186955)
 * I would say weeks. Gearing up to release 1.9 with Gutenberg support and most 
   work is done already. Just need to find time for those finishing touches but 
   the holidays will get in the way a bit 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘No render hook when using shortcode’ is closed to new replies.

 * ![](https://ps.w.org/advanced-forms/assets/icon-256x256.png?rev=1894254)
 * [Advanced Forms for ACF](https://wordpress.org/plugins/advanced-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-forms/reviews/)

## Tags

 * [hook](https://wordpress.org/support/topic-tag/hook/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 5 replies
 * 2 participants
 * Last reply from: [fabianlindfors](https://wordpress.org/support/users/fabianlindfors/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/no-render-hook-when-using-shortcode/#post-15186955)
 * Status: resolved