• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Yoast SEO a2z

Yoast SEO a2z

WordPress SEO a2z

  • Home
  • Plugins
  • Blocks
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / APIs / Abstract_Action_Route::respond_with() – Responds to an indexing request.

You appear to be a bot. Output may be restricted

Description

Responds to an indexing request.

Usage

$WP_REST_Response = Abstract_Action_Route::respond_with( $objects, $next_url );

Parameters

$objects
( array ) required – The objects that have been indexed.
$next_url
( string ) required – The url that should be called to continue reindexing. False if done.

Returns

WP_REST_Response The response.

Source

File name: wordpress-seo/src/routes/abstract-action-route.php


Lines:

1 to 9 of 9
  protected function respond_with( $objects, $next_url ) {
    return new WP_REST_Response(
      [
        'objects'  => $objects,
        'next_url' => $next_url,
      ]
    );
  }
 

 View on GitHub View on Trac

Published: 25th January 2022 | Last updated: 25th January 2022

Primary Sidebar

Information

Function name: Abstract_Action_Route::respond_with
Class ref: Abstract_Action_Route
Plugin ref: Yoast SEO
Version: 19.9
Sourcefile: src/routes/abstract-action-route.php
File ref: src/routes/abstract-action-route.php
Deprecated?: No
API Letters: A,R,W

Footer

Yoast SEO a2z
Yoast SEO a2z
WordPress SEO a2z
WordPress 6.1.1
WordPress a2z
WordPress core a2z
Genesis Theme Framework a2z
Jetpack a2z
WordPress develop tests
Easy Digital Downloads a2z
WooCommerce a2z
Yoast SEO a2z
WordPress Blocks

Site:  wordpress-seo.wp-a2z.org
© Copyright Yoast SEO a2z 2017-2023. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins

  • Home
  • Blog
  • Sitemap
  • Sites