PHP Class Inpsyde\MultilingualPress\Module\CustomPostTypeSupport\PostTypeSupportSettingsUpdater

Since: 3.0.0
Afficher le fichier Open project: inpsyde/multilingual-press

Méthodes publiques

Méthode 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 méthode

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 méthode

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