✏️ 编辑:abstract-action-route.php
路径:
/home/forge/kingkrunch.com/wp/wp-content/plugins/wordpress-seo/src/routes/abstract-action-route.php
大小:635 B · 修改:2026-09-30 01:49:02 · 权限:0644 · 可写
← 返回目录
👁 查看
⬇ 下载
<?php namespace Yoast\WP\SEO\Routes; use WP_REST_Response; /** * Abstract_Action_Route class. * * Abstract class for action routes. */ abstract class Abstract_Action_Route implements Route_Interface { /** * Responds to an indexing request. * * @param array $objects The objects that have been indexed. * @param string $next_url The url that should be called to continue reindexing. False if done. * * @return WP_REST_Response The response. */ protected function respond_with( $objects, $next_url ) { return new WP_REST_Response( [ 'objects' => $objects, 'next_url' => $next_url, ], ); } }
💾 保存
取消
保存为 UTF-8,换行统一为 LF