Pings disabled but WordPress is still searching for “to_ping”

Apparently what I was looking for was a hook that sets “do_ping”, and grepping through the theme and plugins there was none. My guess is that it was set through either an old theme or plugin, and not unset when that was deleted. However, I did discover that this function will globally unset it regardless of where it came from, and prevent it from being re-set:

if (isset($_GET['doing_wp_cron'])) {
    remove_action('do_pings', 'do_all_pings');
    wp_clear_scheduled_hook('do_pings');
}

Thanks to this site for the solution:

https://wp-mix.com/wordpress-clean-up-do_pings/