Purge story card cache on certain option changes

This commit is contained in:
Tetrakern 2024-09-27 12:21:11 +02:00
parent 984fd71518
commit 503d1cbdc8

View File

@ -293,6 +293,10 @@ function fictioneer_settings_checkbox_updated( $option, $old_value, $value ) {
}
}
if ( $option === 'fictioneer_hide_large_card_chapter_list' ) {
fictioneer_purge_story_card_cache();
}
// Relay
fictioneer_log_checkbox_update(
fictioneer_get_option_label( $option ),