PHP 클래스 Inpsyde\MultilingualPress\Module\AlternativeLanguageTitleInAdminBar\AlternativeLanguageTitles

부터: 3.0.0
파일 보기 프로젝트 열기: inpsyde/multilingual-press 1 사용 예제들

공개 메소드들

메소드 설명
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.