• Resolved joncon62

    (@joncon62)


    How can I use a shortcode in the ‘set default value’ of a text field (or any other field for that matter)?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter joncon62

    (@joncon62)

    Oops, doesn’t look like this works, I can no longer select any input fields. I’ll wait to see what you say!


    I think I figured it out, seems like this works:

    add_filter(‘render_input_types’, ‘do_shortcode’);

    Is this the right way to do it?

    • This reply was modified 5 years, 1 month ago by joncon62.

    Hi @joncon62,

    Yeah, you the champion ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Shortcode in default value field’ is closed to new replies.