i would like to call a function from another plugin, that returns a pdf. Is there a possibility to save this pdf in the Wordpress Filesystem - wp-upload for example?
I just found $wp_filesystem->put_contents but it seems to be designed for writing text-files.
Any suggestions?
Thanks a lot, Steven