static function _wp_loaded() { global $wp_post_types; foreach ($wp_post_types as $post_type => $post_type_object) { /** * Decided not to prefix this property, because really? */ $post_type_object->is_post_type_object = true; } }