public function reset_api_key() {
		if ( isset( $_REQUEST['tab'], $_REQUEST['github_updater_reset_api_key'] ) &&
			'github_updater_remote_management' === $_REQUEST['tab']
		) {
			$_POST                     = $_REQUEST;
			$_POST['_wp_http_referer'] = $_SERVER['HTTP_REFERER'];
			delete_site_option( 'github_updater_api_key' );

			return true;
		}

		return false;
	}
public function reset_api_key() {
		if ( isset( $_REQUEST['tab'], $_REQUEST['github_updater_reset_api_key'] ) &&
			'github_updater_remote_management' === $_REQUEST['tab']
		) {
			$_POST                     = $_REQUEST;
			$_POST['_wp_http_referer'] = $_SERVER['HTTP_REFERER'];
			delete_site_option( 'github_updater_api_key' );

			return true;
		}

		return false;
	}
public function reset_api_key ( ) { if ( isset ( $ _REQUEST [ 'tab' ] , $ _REQUEST [ 'github_updater_reset_api_key' ] ) && 'github_updater_remote_management' === $ _REQUEST [ 'tab' ] ) { $ _POST = $ _REQUEST ; $ _POST [ '_wp_http_referer' ] = $ _SERVER [ 'HTTP_REFERER' ] ; delete_site_option ( 'github_updater_api_key' ) ; return true ; } return false ; }
Reset RESTful API key.
Deleting site option will cause it to be re-created.

@return bool
Reset RESTful API key . Deleting site option will cause it to be re - created .