admin管理员组文章数量:1130349
I am quite new to Wordpress development, and am writing a plugin which needs to have an option of uploading a spreadsheet, which the plugin will then work with and process data as appropriate.
This is for front end users, not in the admin area.
What is the best practice? Should I code an upload myself, or integrate another plugin, which my plugin calls and is dependent on? If the latter, any suggestions of a plugin????
Thank you
I am quite new to Wordpress development, and am writing a plugin which needs to have an option of uploading a spreadsheet, which the plugin will then work with and process data as appropriate.
This is for front end users, not in the admin area.
What is the best practice? Should I code an upload myself, or integrate another plugin, which my plugin calls and is dependent on? If the latter, any suggestions of a plugin????
Thank you
Share Improve this question asked Nov 8, 2018 at 17:13 StripyTigerStripyTiger 2771 silver badge6 bronze badges1 Answer
Reset to default 1I think this could be part of the solution you're looking for: https://codex.wordpress/Plugin_API/Filter_Reference/wp_handle_upload_prefilter
How familiar are you with web-forms in php & file-uploads in general?
Here's a prebuilt plugin solution for frontend uploads: https://wordpress/plugins/frontend-uploader/
& here's a tutorial which looks to be along the lines of what you're describing: https://www.inkthemes/code-to-integrate-wordpress-media-uploader-in-plugintheme/
I am quite new to Wordpress development, and am writing a plugin which needs to have an option of uploading a spreadsheet, which the plugin will then work with and process data as appropriate.
This is for front end users, not in the admin area.
What is the best practice? Should I code an upload myself, or integrate another plugin, which my plugin calls and is dependent on? If the latter, any suggestions of a plugin????
Thank you
I am quite new to Wordpress development, and am writing a plugin which needs to have an option of uploading a spreadsheet, which the plugin will then work with and process data as appropriate.
This is for front end users, not in the admin area.
What is the best practice? Should I code an upload myself, or integrate another plugin, which my plugin calls and is dependent on? If the latter, any suggestions of a plugin????
Thank you
Share Improve this question asked Nov 8, 2018 at 17:13 StripyTigerStripyTiger 2771 silver badge6 bronze badges1 Answer
Reset to default 1I think this could be part of the solution you're looking for: https://codex.wordpress/Plugin_API/Filter_Reference/wp_handle_upload_prefilter
How familiar are you with web-forms in php & file-uploads in general?
Here's a prebuilt plugin solution for frontend uploads: https://wordpress/plugins/frontend-uploader/
& here's a tutorial which looks to be along the lines of what you're describing: https://www.inkthemes/code-to-integrate-wordpress-media-uploader-in-plugintheme/
本文标签: Writing a plugin which needs to upload files
版权声明:本文标题:Writing a plugin which needs to upload files 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://it.en369.cn/questions/1749196674a2331094.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论