• Resolved Furo

    (@furocan)


    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

    (@fabianlindfors)

    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

    (@furocan)

    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

    (@fabianlindfors)

    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

    All the best,
    Fabian

    Thread Starter Furo

    (@furocan)

    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

    (@fabianlindfors)

    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.