Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
GP_Route_Locale
PHP Class GP_Route_Locale, GlotPress-WP
Since:
1.0.0
Inheritance:
extends
GP_Route_Main
Mostra file
Open project: GlotPress/GlotPress-WP
Public Methods
Method
Description
locales_get
( )
single
(
$locale_slug
,
$current_set_slug
= 'default' )
Private Methods
Method
Description
set_data
(
$set
,
$project
,
$set_data
= null )
sort_locales
(
$a
,
$b
)
sort_sets_by_project_id
(
$a
,
$b
)
Method Details
locales_get()
public
method
public
locales_get
( )
single()
public
method
public
single
(
$locale_slug
,
$current_set_slug
= 'default' )