available_object_cache_services example

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(
                /* translators: Available object caching services. */
                __( 'Your host appears to support the following object caching services: %s.' ),
                implode( ', ', $available_services )
            );
        }

        
Home | Imprint | This part of the site doesn't use cookies.