Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Inpsyde
MultilingualPress
Module
AlternativeLanguageTitleInAdminBar
AlternativeLanguageTitles
PHP Class Inpsyde\MultilingualPress\Module\AlternativeLanguageTitleInAdminBar\AlternativeLanguageTitles
Since:
3.0.0
Show file
Open project: inpsyde/multilingual-press
Class Usage Examples
Public Methods
Method
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
method
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.
return
string
The alternative language title for the site with the given ID.
update()
public
method
Updates the cache entry for the alternative language title of the updated site.
Since:
3.0.0
public
update
( ) :
boolean
return
boolean
Whether or not any alternative language titles were updated.