clear_cache(); return; } // Clear specific URL if ( ! is_string( $location ) || empty( $location ) ) { return; } $url_path = wp_parse_url( $location, PHP_URL_PATH ); if ( $url_path ) { $page_cache->clear_cache( trailingslashit( $url_path ), true ); } } }