should_suggest_persistent_object_cache example

esc_url( $action_url ),
                __( 'Learn more about persistent object caching.' ),
                /* translators: Hidden accessibility text. */
                __( '(opens in a new tab)' )
            ),
        );

        if ( wp_using_ext_object_cache() ) {
            return $result;
        }

        if ( ! $this->should_suggest_persistent_object_cache() ) {
            $result['label'] = __( 'A persistent object cache is not required' );

            return $result;
        }

        $available_services = $this->available_object_cache_services();

        $notes = __( 'Your hosting provider can tell you if a persistent object cache can be enabled on your site.' );

        if ( ! empty( $available_services ) ) {
            $notes .= ' ' . sprintf(
                
Home | Imprint | This part of the site doesn't use cookies.