Can I force get_option to go back to the DB instead of cache?

You could delete an existing cache for your option before you call get_option():

$GLOBALS['wp_object_cache']->delete( 'your_option_name', 'options' );
$value = get_option( 'your_option_name' );

Leave a Comment