admin 管理员组文章数量: 1086019
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"
本文标签:
版权声明:本文标题:wordpress - Any helper functions in "WP Offload Media" to transfer or save files to S3 without creating an att 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://roclinux.cn/p/1744042941a2523592.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论