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. |
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. |
public update_settings ( ) : boolean | ||
return | boolean | Whether or not the settings were updated successfully. |