public function save_settings( $post_data ) {
		if ( isset( $post_data['option_page'] ) &&
			'github_updater_remote_management' === $post_data['option_page']
		) {
			$options = isset( $post_data['github_updater_remote_management'] )
				? $post_data['github_updater_remote_management']
				: [];

			update_site_option( 'github_updater_remote_management', (array) $this->sanitize( $options ) );

			add_filter(
				'github_updater_save_redirect',
				function ( $option_page ) {
					return array_merge( $option_page, [ 'github_updater_remote_management' ] );
				}
			);
		}
	}
public function save_settings( $post_data ) {
		if ( isset( $post_data['option_page'] ) &&
			'github_updater_remote_management' === $post_data['option_page']
		) {
			$options = isset( $post_data['github_updater_remote_management'] )
				? $post_data['github_updater_remote_management']
				: [];

			update_site_option( 'github_updater_remote_management', (array) $this->sanitize( $options ) );

			add_filter(
				'github_updater_save_redirect',
				function ( $option_page ) {
					return array_merge( $option_page, [ 'github_updater_remote_management' ] );
				}
			);
		}
	}
public function save_settings ( $ post_data ) { if ( isset ( $ post_data [ 'option_page' ] ) && 'github_updater_remote_management' === $ post_data [ 'option_page' ] ) { $ options = isset ( $ post_data [ 'github_updater_remote_management' ] ) ? $ post_data [ 'github_updater_remote_management' ] : [ ] ; update_site_option ( 'github_updater_remote_management' , ( array ) $ this -> sanitize ( $ options ) ) ; add_filter ( 'github_updater_save_redirect' , function ( $ option_page ) { return array_merge ( $ option_page , [ 'github_updater_remote_management' ] ) ; } ) ; } }
Save Remote Management settings.

@uses 'github_updater_update_settings' action hook
@uses 'github_updater_save_redirect' filter hook

@param array $post_data $_POST data.
Save Remote Management settings .