| 1 |
<?php |
| 2 |
/** |
| 3 |
* Class for Related API (`/related`). |
| 4 |
* |
| 5 |
* @package Parsely |
| 6 |
* @since 3.2.0 |
| 7 |
*/ |
| 8 |
|
| 9 |
declare(strict_types=1); |
| 10 |
|
| 11 |
namespace Parsely\RemoteAPI; |
| 12 |
|
| 13 |
use Parsely\Parsely; |
| 14 |
|
| 15 |
/** |
| 16 |
* Class for Related API (`/related`). |
| 17 |
* |
| 18 |
* @since 3.2.0 |
| 19 |
*/ |
| 20 |
class Related_API extends Remote_API_Base { |
| 21 |
protected const ENDPOINT = '/related'; |
| 22 |
protected const QUERY_FILTER = 'wp_parsely_related_endpoint_args'; |
| 23 |
|
| 24 |
/** |
| 25 |
* Indicates whether the endpoint is public or protected behind permissions. |
| 26 |
* |
| 27 |
* @since 3.7.0 |
| 28 |
* |
| 29 |
* @var bool |
| 30 |
*/ |
| 31 |
protected $is_public_endpoint = true; |
| 32 |
} |
| 33 |
|