# wp-parsely/3.14.1/src/RemoteAPI/content-suggestions/class-link-suggestion.php

Parse.ly, version 3.14.1. 49 lines.

- Page: https://pluginprobe.com/plugins/wp-parsely/3.14.1/code/src/RemoteAPI/content-suggestions/class-link-suggestion.php
- Raw: https://pluginprobe.com/plugins/wp-parsely/3.14.1/raw/src/RemoteAPI/content-suggestions/class-link-suggestion.php
- Modified: 2024-03-12T09:31:56+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wp-parsely/3.14.1/code/src/RemoteAPI/content-suggestions/class-link-suggestion.php#L10-L20`.

```php
<?php
/**
 * Link Suggestion class
 *
 * @package Parsely
 * @since   3.14.0
 */

declare(strict_types=1);

namespace Parsely\RemoteAPI\ContentSuggestions;

/**
 * Link Suggestion class
 *
 * Represents a link suggestion returned by the Suggest Links API.
 *
 * @since 3.14.0
 */
class Link_Suggestion {
	/**
	 * The URL of the suggested link.
	 *
	 * @var string The URL of the suggested link.
	 */
	public $href;

	/**
	 * The title of the suggested link.
	 *
	 * @var string The title of the suggested link.
	 */
	public $title;

	/**
	 * The text of the suggested link.
	 *
	 * @var string The text of the suggested link.
	 */
	public $text;

	/**
	 * The offset/position for the suggested link.
	 *
	 * @var int The offset/position for the suggested link.
	 */
	public $offset;
}

```
