Support » Plugin: WordPress File Upload » Run Short Code in Hook

  • I need to run a shortcode inside a hook:

    $uemploy=do_shortcode('[pmpro_member field="Employer/School"]');

    But it returns empty.

    The same code runs on the same page as the WFU uploader works fine.

    Alternatively, if I could pass the value to WFU via the wordpress_file_upload shortcode , and retrieve it in the hook, that would be fine.


    Any thoughts?

    • This topic was modified 3 months, 3 weeks ago by ajmast.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.