Ignore cached file in Customizer preview
This commit is contained in:
parent
e2db5a1f3a
commit
2cfe230c3a
@ -3076,6 +3076,7 @@ function fictioneer_get_static_template_part( $slug, $expiration = null, $name =
|
||||
// Use default function if...
|
||||
if (
|
||||
! get_option( 'fictioneer_enable_static_partials' ) ||
|
||||
is_customize_preview() ||
|
||||
fictioneer_caching_active( "get_template_part_for_{$slug}" )
|
||||
) {
|
||||
get_template_part( $slug, $name, $args );
|
||||
|
Loading…
x
Reference in New Issue
Block a user