PHP Класс Inpsyde\MultilingualPress\Module\AlternativeLanguageTitleInAdminBar\AlternativeLanguageTitles

С версии: 3.0.0
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

get() публичный метод

Returns the alternative language title for the site with the given ID.
С версии: 3.0.0
public get ( integer $site_id ) : string
$site_id integer Optional. Site ID. Defaults to 0.
Результат string The alternative language title for the site with the given ID.

update() публичный метод

Updates the cache entry for the alternative language title of the updated site.
С версии: 3.0.0
public update ( ) : boolean
Результат boolean Whether or not any alternative language titles were updated.