# polylang/trunk/src/integrations/yarpp/yarpp.php

Polylang, version trunk. 21 lines.

- Page: https://pluginprobe.com/plugins/polylang/trunk/code/src/integrations/yarpp/yarpp.php
- Raw: https://pluginprobe.com/plugins/polylang/trunk/raw/src/integrations/yarpp/yarpp.php
- Modified: 2026-02-23T14:05:20+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/polylang/trunk/code/src/integrations/yarpp/yarpp.php#L10-L20`.

```php
<?php
/**
 * @package Polylang
 */

/**
 * Manages the compatibility with Yet Another Related Posts Plugin.
 *
 * @since 2.8
 */
class PLL_Yarpp {
	/**
	 * Just makes YARPP aware of the language taxonomy ( after Polylang registered it ).
	 *
	 * @since 1.0
	 */
	public function init() {
		$GLOBALS['wp_taxonomies']['language']->yarpp_support = 1;
	}
}

```
