private function filter_options() {
		$options = static::$options;

		// Remove checkbox options, only after background update complete.
		if ( ! $this->waiting_for_background_update() ) {
			$options = array_filter(
				$options,
				function ( $e ) {
					return '1' !== $e;
				}
			);
		}

		$options = array_merge( $options, $_POST['github_updater'] );

		return $options;
	}
private function filter_options() {
		$options = static::$options;

		// Remove checkbox options, only after background update complete.
		if ( ! $this->waiting_for_background_update() ) {
			$options = array_filter(
				$options,
				function ( $e ) {
					return '1' !== $e;
				}
			);
		}

		$options = array_merge( $options, $_POST['github_updater'] );

		return $options;
	}
private function filter_options ( ) { $ options = static :: $ options ; // Remove checkbox options, only after background update complete. if ( ! $ this -> waiting_for_background_update ( ) ) { $ options = array_filter ( $ options , function ( $ e ) { return '1' !== $ e ; } ) ; } $ options = array_merge ( $ options , $ _POST [ 'github_updater' ] ) ; return $ options ; }
Filter options to remove unchecked checkbox options.

@access private

@return array|mixed
Filter options to remove unchecked checkbox options .