How do I disable the widget fragment cache?

  1. Install the Code Snippets plugin.
  2. Add a new code snippet with the following code.
  3. Save and activate the new code snippet.
add_filter(
	'Connections_Directory/Widget_Pack/Widget/Category/Use_Fragment_Cache',
	'__return_false'
);

Important

This code snippet will disable the fragment cache for the Categories widget only.