Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
Inpsyde
MultilingualPress
Module
AlternativeLanguageTitleInAdminBar
AlternativeLanguageTitles
PHP Class Inpsyde\MultilingualPress\Module\AlternativeLanguageTitleInAdminBar\AlternativeLanguageTitles
Since:
3.0.0
Afficher le fichier
Open project: inpsyde/multilingual-press
Class Usage Examples
Méthodes publiques
Méthode
Description
get
(
integer
$site_id
) :
string
Returns the alternative language title for the site with the given ID.
update
( ) :
boolean
Updates the cache entry for the alternative language title of the updated site.
Method Details
get()
public
méthode
Returns the alternative language title for the site with the given ID.
Since:
3.0.0
public
get
(
integer
$site_id
) :
string
$site_id
integer
Optional. Site ID. Defaults to 0.
Résultat
string
The alternative language title for the site with the given ID.
update()
public
méthode
Updates the cache entry for the alternative language title of the updated site.
Since:
3.0.0
public
update
( ) :
boolean
Résultat
boolean
Whether or not any alternative language titles were updated.