PHP Класс Inpsyde\MultilingualPress\Module\CustomPostTypeSupport\PostTypeSupportSettingsUpdater

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

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

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