PHP Class Inpsyde\MultilingualPress\Module\CustomPostTypeSupport\PostTypeSupportSettingsUpdater

Since: 3.0.0
Show file Open project: inpsyde/multilingual-press

Public Methods

Method Description
__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.

Method Details

__construct() public method

Constructor. Sets up the properties.
Since: 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() public method

Updates the post type support settings.
Since: 3.0.0
public update_settings ( ) : boolean
return boolean Whether or not the settings were updated successfully.