PHP 클래스 Inpsyde\MultilingualPress\Module\CustomPostTypeSupport\PostTypeSupportSettingsUpdater

부터: 3.0.0
파일 보기 프로젝트 열기: inpsyde/multilingual-press

공개 메소드들

메소드 설명
__construct ( Inpsyde\MultilingualPress\Common\Nonce\Nonce $nonce, Inpsyde\MultilingualPress\Module\CustomPostTypeSupport\PostTypeRepository $repository ) Constructor. Sets up the properties.
update_settings ( ) : boolean Updates the post type support settings.

메소드 상세

__construct() 공개 메소드

Constructor. Sets up the properties.
부터: 3.0.0
public __construct ( Inpsyde\MultilingualPress\Common\Nonce\Nonce $nonce, Inpsyde\MultilingualPress\Module\CustomPostTypeSupport\PostTypeRepository $repository )
$nonce Inpsyde\MultilingualPress\Common\Nonce\Nonce Nonce object.
$repository Inpsyde\MultilingualPress\Module\CustomPostTypeSupport\PostTypeRepository Post type repository object.

update_settings() 공개 메소드

Updates the post type support settings.
부터: 3.0.0
public update_settings ( ) : boolean
리턴 boolean Whether or not the settings were updated successfully.