# jetpack/16.3-a.5/jetpack_vendor/automattic/jetpack-comments/src/class-comments.php

Jetpack – WP Security, Backup, Speed, &amp; Growth, version 16.3-a.5. 51 lines.

- Page: https://pluginprobe.com/plugins/jetpack/16.3-a.5/code/jetpack_vendor/automattic/jetpack-comments/src/class-comments.php
- Raw: https://pluginprobe.com/plugins/jetpack/16.3-a.5/raw/jetpack_vendor/automattic/jetpack-comments/src/class-comments.php
- Modified: 2026-09-21T19:42:08+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/jetpack/16.3-a.5/code/jetpack_vendor/automattic/jetpack-comments/src/class-comments.php#L10-L20`.

```php
<?php
/**
 * Jetpack Comments.
 *
 * @package automattic/jetpack-comments
 */

namespace Automattic\Jetpack\Comments;

/**
 * Package entry point.
 */
class Comments {

	/**
	 * Package version.
	 */
	const PACKAGE_VERSION = '0.2.0';

	/**
	 * Whether Jetpack Comments should load.
	 *
	 * @since 0.1.0
	 *
	 * @return bool
	 */
	public static function is_enabled() {
		/**
		 * Load Jetpack Comments in place of the site's existing comment experience.
		 *
		 * @since 0.1.0
		 *
		 * @param bool $enabled Whether to load Jetpack Comments. Default false.
		 */
		return (bool) apply_filters( 'jetpack_comments_new_hotness', false );
	}

	/**
	 * Register the package's features. Safe to call more than once.
	 *
	 * @since 0.1.0
	 *
	 * @return void
	 */
	public static function init() {
		Comment_Form::init();
		Checkpoint::init();
		Avatars::init();
	}
}

```
