admin管理员组文章数量:1313156
Which wordpress action fires immediately after wordpress finished crunching audio files.
I know about add_attachment but it fires Immediately the the audio is uploadeded.
Edit I have a plugin that converts uploaded audio files to post using the add_attachment action, so I want to automatically use the featured image of the last audio uploaded as the featured image of the post it is converted to. I used the wordpress get_post, publish_post action and set_post_thumbnail. When I publish a new post every thing works fine but when I uploaded an audio and it is converted to wordpress posts the featured image doesn't work.
本文标签: uploadsWhich wordpress action fires after crunching
版权声明:本文标题:uploads - Which wordpress action fires after crunching 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741934912a2405794.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论