📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: LiteSpeed
2026-06-28 18:12:59
📂
/ (Root)
/
home
/
apkbfjox
/
stargame.pk
/
wp-content
/
plugins
/
wordpress-seo
/
src
/
task-list
/
infrastructure
/
endpoints
📍 /home/apkbfjox/stargame.pk/wp-content/plugins/wordpress-seo/src/task-list/infrastructure/endpoints
🔄 Refresh
✏️
Editing: complete-task-endpoint.php
Writable
<?php // phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure. namespace Yoast\WP\SEO\Task_List\Infrastructure\Endpoints; use Yoast\WP\SEO\Task_List\User_Interface\Tasks\Complete_Task_Route; /** * Represents the complete task endpoint. */ class Complete_Task_Endpoint implements Task_List_Endpoint_Interface { /** * Gets the name. * * @return string */ public function get_name(): string { return 'completeTask'; } /** * Gets the namespace. * * @return string */ public function get_namespace(): string { return Complete_Task_Route::ROUTE_NAMESPACE; } /** * Gets the route. * * @return string */ public function get_route(): string { return Complete_Task_Route::ROUTE_NAME; } /** * Gets the URL. * * @return string */ public function get_url(): string { return \rest_url( $this->get_namespace() . $this->get_route() ); } }
💾 Save Changes
❌ Cancel