Skip to content

Instantly share code, notes, and snippets.



Last active Dec 20, 2015
What would you like to do?
Dynamically-named Filter
* Return the ID of the uploaded attachment of a given type
* @since 2.5.0
* @param int $id The uploaded attachment ID
echo apply_filters("async_upload_{$type}", $id);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.