0

I have a function that kills the media buttons on certain custom post types. I want it to load whenever any post/ page edit page opens. What's the best action to hook this up to?

Thanks in advance.

2 Answers 2

0

Try the 'load-post.php' action.

1
  • Sweet. I love you.
    – mjjwatson
    Commented Jul 9, 2011 at 11:29
-1

also try "load-post-new.php" for new pages

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.