• mkitcowt

    (@mkitcowt)


    I am developing an application and it requires authorization to access certain info.
    If the user is authorized I want to allow them to upload a file.
    Can I/How do I run “File Upload” from php?

Viewing 1 replies (of 1 total)
  • Plugin Author nickboss

    (@nickboss)

    Hi, I suppose you mean to render the upload form. This is how it is done:

    do_shortcode('[wordpress_file_upload]');

    You can also set options in the shortcode, e.g.

    do_shortcode('[wordpress_file_upload uploadid="2" maxsize="1000"]');

    Regards

    Nickolas

Viewing 1 replies (of 1 total)
  • The topic ‘embed in php’ is closed to new replies.