So, I am creating a plugin, I needed to know if I name
$timestamp = wp_next_scheduled( 'scheduled_hook' );
wp_unschedule_event( $timestamp, 'scheduled_hook' );
With out checking if it is scheduling in any respect, will it give me an error or will it simply undergo it and unschedule it in case it’s really scheduled and ignore it in any other case?