📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: LiteSpeed
2026-06-28 18:40:52
📂
/ (Root)
/
home
/
apkbfjox
/
kattu.com.pk
/
wp-content
/
plugins
/
wordpress-seo
/
src
/
dashboard
/
infrastructure
/
endpoints
📍 /home/apkbfjox/kattu.com.pk/wp-content/plugins/wordpress-seo/src/dashboard/infrastructure/endpoints
🔄 Refresh
✏️
Editing: site-kit-consent-management-endpoint.php
Writable
<?php // phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure. namespace Yoast\WP\SEO\Dashboard\Infrastructure\Endpoints; use Exception; use Yoast\WP\SEO\Dashboard\Domain\Endpoint\Endpoint_Interface; use Yoast\WP\SEO\Dashboard\User_Interface\Configuration\Site_Kit_Consent_Management_Route; /** * Represents the Site Kit consent management endpoint. */ class Site_Kit_Consent_Management_Endpoint implements Endpoint_Interface { /** * Gets the name. * * @return string */ public function get_name(): string { return 'siteKitConsentManagement'; } /** * Gets the namespace. * * @return string */ public function get_namespace(): string { return Site_Kit_Consent_Management_Route::ROUTE_NAMESPACE; } /** * Gets the route. * * @return string * * @throws Exception If the route prefix is not overwritten this throws. */ public function get_route(): string { return Site_Kit_Consent_Management_Route::ROUTE_PREFIX; } /** * Gets the URL. * * @return string */ public function get_url(): string { return \rest_url( $this->get_namespace() . $this->get_route() ); } }
💾 Save Changes
❌ Cancel