WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a custom post type called "Magazine" shown in the admin interface. Everytime a user uploads a file in the wp-admin to my custom post type "Magazine", I want to fire a hook because I have to process the file.

Is there any action hook I can use in this case?

Hope someone can help me.

share|improve this question
do you want to resize image? – Arvind Pal Apr 18 '14 at 14:58
no I want to check if the uploaded file is a pdf which I want to send to a webservice. – pbaldauf Apr 19 '14 at 13:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.