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