Set cache life span to 30 minutes in WP-Optimize

Set cache life span to 30 minutes in WP-Optimize on child sites.

Snippet Type

Execute on Child Sites

Snippet

add_filter('wpo_option_key_page_cache_length', 'my_prefix_page_cache_length');

function my_prefix_page_cache_length() {
  return 60 * 30;
}