PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / 18.9
Yoast SEO – Advanced SEO with real-time guidance and built-in AI v18.9
28.5 28.4 28.3 28.2 28.1 28.0 27.9 27.8 27.7 27.6 27.5 trunk 18.0 18.1 18.2 18.3 18.4 18.4.1 18.5 18.5.1 18.6 18.7 18.8 18.9 19.0 All 129 releases
wordpress-seo / src / deprecated / admin / endpoints / class-endpoint-ryte.php

class-endpoint-ryte.php in Yoast SEO – Advanced SEO with real-time guidance and built-in AI 18.9, at src/deprecated/admin/endpoints/class-endpoint-ryte.php

67 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * WPSEO plugin file.
4 *
5 * @package WPSEO\Admin\OnPage
6 */
7
8 /**
9 * Represents an implementation of the WPSEO_Endpoint interface to register one or multiple endpoints.
10 *
11 * @deprecated 13.2
12 * @codeCoverageIgnore
13 */
14 class WPSEO_Endpoint_Ryte implements WPSEO_Endpoint {
15
16 /**
17 * The namespace of the REST route.
18 *
19 * @var string
20 */
21 const REST_NAMESPACE = 'yoast/v1';
22
23 /**
24 * The route of the ryte endpoint.
25 *
26 * @var string
27 */
28 const ENDPOINT_RETRIEVE = 'ryte';
29
30 /**
31 * The name of the capability needed to retrieve data using the endpoints.
32 *
33 * @var string
34 */
35 const CAPABILITY_RETRIEVE = 'manage_options';
36
37 /**
38 * Constructs the WPSEO_Endpoint_Ryte class and sets the service to use.
39 *
40 * @deprecated 13.2
41 * @codeCoverageIgnore
42 */
43 public function __construct() {
44 _deprecated_function( __METHOD__, 'WPSEO 13.2' );
45 }
46
47 /**
48 * Registers the REST routes that are available on the endpoint.
49 *
50 * @deprecated 13.2
51 * @codeCoverageIgnore
52 */
53 public function register() {
54 _deprecated_function( __METHOD__, 'WPSEO 13.2' );
55 }
56
57 /**
58 * Determines whether or not data can be retrieved for the registered endpoints.
59 *
60 * @deprecated 13.2
61 * @codeCoverageIgnore
62 */
63 public function can_retrieve_data() {
64 _deprecated_function( __METHOD__, 'WPSEO 13.2' );
65 }
66 }
67