Closed mtekk closed 2 years ago
wp_loaded
is probably the absolute latest this could be run (assume all plugins are done registering taxonomies and CPTs by that time).
Running at priority 9000 should be late enough for most things, also appears to still work with everything else (no conflicts with settings saving/updating settings).
Looks like some other plugins are doing silly things when they don't need to (like registering post types later than priority 10 on init), so we need to try to run late (ideally after all post types are registered).