Function: wp_ajax_set_attachment_thumbnail

wp_ajax_set_attachment_thumbnail( )

Ajax handler for setting the featured image for an attachment.

WordPress Developer Newsletter

Stay on top of the latest WordPress API changes, developer tool updates, security alerts and more.