Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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 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 at 13:23

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.