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.
Try the 'load-post.php' action.
also try "load-post-new.php" for new pages
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
3 years ago
3 months ago