最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

wordpress - Any helper functions in "WP Offload Media" to transfer or save files to S3 without creating an att

programmeradmin1浏览0评论

Have a wordpress setup with "WP Offload Media" to handle wordpress media library objects and to automatically store them in amazon s3.

I would like to know of any existing helper functions in "WP Offload Media" that we could use to transfer or save documents/files without triggering wordpress filters and actions that would create an "attachment" post type post entry in wp_posts

my need is to not clutter the media library with too many documents and files. media library should display only the image files which are added using media upload which is normally handled by "WP Offload Media"

I have other custom post type metafields that will have reference to image urls which I dont want to use wordpress media upload on. but I want to use "WP Offload Media" helper functions to transfer those documents/files(which could be .doc, .png, .jpg, .zip,.. whatever) to amazon s3 without triggering the wordpress atachment entry creation filters

Are there any helper functions that can fit my need? if not, are there any workaround to suppress wordpress media upload filters and actions(like suppress the different size thumbnail generation, suppress creation of attachment posttype post entry,..)

hate to reinvent the wheel... or include the amazon s3 sdk/libraries and code to transfer files and handle the authentication and other aspects which are already handled by "WP Offload Media"

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论