0 ) { $opts = get_post_meta( $post_id, \QWSpeedCache\Admin\PostMetabox::META, true ); if ( is_array( $opts ) && isset( $opts['cache_ttl_hours'] ) && '' !== $opts['cache_ttl_hours'] && null !== $opts['cache_ttl_hours'] ) { $h = (int) $opts['cache_ttl_hours']; if ( $h >= 0 ) { return $h; } } } } // Neutral extension boundary; the default lifespan remains Free-owned. return max( 0, (int) apply_filters( 'qwsc_cache_ttl_hours', max( 0, $default ), $settings ) ); } }