WP_Theme::delete_pattern_cache() In this article Table of ContentsSource Related Changelog ↑ Back to top Clears block pattern cache. Source public function delete_pattern_cache() { delete_site_transient( 'wp_theme_files_patterns-' . $this->cache_hash ); } View all references View on Trac View on GitHub Related UsesDescriptiondelete_site_transient()wp-includes/option.phpDeletes a site transient. Used byDescriptionWP_Theme::get_block_patterns()wp-includes/class-wp-theme.phpGets block pattern data for a specified theme. WP_Theme::cache_delete()wp-includes/class-wp-theme.phpClears the cache for the theme. Changelog VersionDescription6.6.0Uses transients to cache regardless of site environment.6.4.0Introduced. User Contributed Notes You must log in before being able to contribute a note or feedback.
User Contributed Notes
You must log in before being able to contribute a note or feedback.