Browse
For agents
About
Polylang
/
3.8.4
Polylang
v3.8.4
Switch version
3.8.9
3.8.8
3.8.7
3.8.6
3.8.5
3.8.4
3.8.3
2.7
2.7.0.1
2.7.1
2.7.2
2.7.3
2.7.4
2.8
2.8.1
2.8.2
2.8.3
2.8.4
2.9
2.9.1
2.9.2
3.0
3.0.1
3.0.2
3.0.3
All 233 releases
Overview
Code
polylang
/
src
/
integrations
/
yarpp
/
yarpp.php
yarpp.php
in Polylang 3.8.4, at src/integrations/yarpp/yarpp.php
21 lines
353 B
Find file
t
No matching file
Up and down to move
Enter to open
Esc to close
Raw
Download
Zip
View raw
1
<
?
php
2
/**
3
*
@package
Polylang
4
*/
5
6
/**
7
* Manages the compatibility with Yet Another Related Posts Plugin.
8
*
9
*
@since
2.8
10
*/
11
class
PLL_Yarpp
{
12
/**
13
* Just makes YARPP aware of the language taxonomy ( after Polylang registered it ).
14
*
15
*
@since
1.0
16
*/
17
public
function
init
(
)
{
18
$
GLOBALS
[
'
wp_taxonomies
'
]
[
'
language
'
]
->
yarpp_support
=
1
;
19
}
20
}
21