Skip to main content
4 events
when toggle format what by license comment
Feb 10, 2016 at 14:46 vote accept adam
Feb 9, 2016 at 19:47 comment added Mike Guess it depends on what you're doing. Init is the first hook where it is safe to run custom code knowing that everything is loaded. It's also great for using wp_redirect which needs to run before anything is output to the browser. Admin init is when the admin interface is ready so if your plugin is doing stuff on the front end, admin init is probably no good.
Feb 9, 2016 at 17:08 comment added adam Would it be because of the fact it's fired earlier? Seems very reasonable.
Feb 9, 2016 at 16:58 history answered Mike CC BY-SA 3.0