| 1 |
<?php |
| 2 |
|
| 3 |
// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure. |
| 4 |
namespace Yoast\WP\SEO\AI_Authorization\User_Interface; |
| 5 |
|
| 6 |
/** |
| 7 |
* Registers the callback route used in the authorization process. |
| 8 |
* |
| 9 |
* @deprecated 28.4 |
| 10 |
* @codeCoverageIgnore |
| 11 |
* |
| 12 |
* @makePublic |
| 13 |
* |
| 14 |
* @phpcs:disable Yoast.NamingConventions.ObjectNameDepth.MaxExceeded |
| 15 |
*/ |
| 16 |
class Callback_Route extends Abstract_Callback_Route { |
| 17 |
|
| 18 |
/** |
| 19 |
* The prefix for this route. |
| 20 |
* |
| 21 |
* @var string |
| 22 |
*/ |
| 23 |
public const ROUTE_PREFIX = '/ai_generator/callback'; |
| 24 |
|
| 25 |
/** |
| 26 |
* Registers routes with WordPress. |
| 27 |
* |
| 28 |
* @deprecated 28.4 |
| 29 |
* @codeCoverageIgnore |
| 30 |
* |
| 31 |
* @return void |
| 32 |
*/ |
| 33 |
public function register_routes() { |
| 34 |
\_deprecated_function( __METHOD__, 'Yoast SEO 28.4' ); |
| 35 |
} |
| 36 |
} |
| 37 |
|