• Hello,

    After a user purchases an item in my site, I need to create a pdf document and save automatically in the user file area. Is there any functions I need to use to be able to create this functionality?

    Thanks

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

    (@smartypants)

    Hey Albert, in the latest version of premium there is a new function to insert files programmatically

    #file = file url or path to file
    #user_id = user_id of the user
    #folder_id = the folder/project id to insert this file into
    #type =  url or path
    cdm_add_file_to_user($file,$user_id,$folder_id =0,$type='url');
    • This reply was modified 8 years, 5 months ago by smartypants.
Viewing 1 replies (of 1 total)

The topic ‘CREATE PDF AND SAVE IT IN USER FOLDER AUTOMATICALLY’ is closed to new replies.