# wpsso/22.7.0/lib/integ/util/jetpack.php

WPSSO Core – Complete Schema Markup and Meta Tags, version 22.7.0. 37 lines.

- Page: https://pluginprobe.com/plugins/wpsso/22.7.0/code/lib/integ/util/jetpack.php
- Raw: https://pluginprobe.com/plugins/wpsso/22.7.0/raw/lib/integ/util/jetpack.php
- Modified: 2026-03-25T12:08:02+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/wpsso/22.7.0/code/lib/integ/util/jetpack.php#L10-L20`.

```php
<?php
/*
 * License: GPLv3
 * License URI: https://www.gnu.org/licenses/gpl.txt
 * Copyright 2024-2026 Jean-Sebastien Morisset (https://wpsso.com/)
 */

if ( ! defined( 'ABSPATH' ) ) {

	die( 'These aren\'t the droids you\'re looking for.' );
}

if ( ! class_exists( 'WpssoIntegUtilJetpack' ) ) {

	class WpssoIntegUtilJetpack {

		private $p;	// Wpsso class object.

		public function __construct( &$plugin ) {

			$this->p =& $plugin;

			if ( $this->p->debug->enabled ) {

				$this->p->debug->mark();
			}

			if ( ! is_admin() ) {

				add_filter( 'jetpack_enable_opengraph', '__return_false', 1000 );
				add_filter( 'jetpack_enable_open_graph', '__return_false', 1000 );
				add_filter( 'jetpack_disable_twitter_cards', '__return_true', 1000 );
			}
		}
	}
}

```
