public function remote_management_page_init() {
		register_setting(
			'github_updater_remote_management',
			'github_updater_remote_settings',
			[ $this, 'sanitize' ]
		);

		add_settings_section(
			'remote_management',
			esc_html__( 'Remote Management', 'github-updater' ),
			[ $this, 'print_section_remote_management' ],
			'github_updater_remote_settings'
		);

		foreach ( self::$remote_management as $id => $name ) {
			add_settings_field(
				$id,
				null,
				[ $this, 'token_callback_checkbox_remote' ],
				'github_updater_remote_settings',
				'remote_management',
				[
					'id'    => $id,
					'title' => esc_html( $name ),
				]
			);
		}
	}
public function remote_management_page_init() {
		register_setting(
			'github_updater_remote_management',
			'github_updater_remote_settings',
			[ $this, 'sanitize' ]
		);

		add_settings_section(
			'remote_management',
			esc_html__( 'Remote Management', 'github-updater' ),
			[ $this, 'print_section_remote_management' ],
			'github_updater_remote_settings'
		);

		foreach ( self::$remote_management as $id => $name ) {
			add_settings_field(
				$id,
				null,
				[ $this, 'token_callback_checkbox_remote' ],
				'github_updater_remote_settings',
				'remote_management',
				[
					'id'    => $id,
					'title' => esc_html( $name ),
				]
			);
		}
	}
public function remote_management_page_init ( ) { register_setting ( 'github_updater_remote_management' , 'github_updater_remote_settings' , [ $ this , 'sanitize' ] ) ; add_settings_section ( 'remote_management' , esc_html__ ( 'Remote Management' , 'github-updater' ) , [ $ this , 'print_section_remote_management' ] , 'github_updater_remote_settings' ) ; foreach ( self :: $ remote_management as $ id => $ name ) { add_settings_field ( $ id , null , [ $ this , 'token_callback_checkbox_remote' ] , 'github_updater_remote_settings' , 'remote_management' , [ 'id' => $ id , 'title' => esc_html ( $ name ) , ] ) ; } }
Settings for Remote Management.
Settings for Remote Management .