You appear to be a bot. Output may be restricted
Description
Runs an indexing action and returns the response.
Usage
$WP_REST_Response = Abstract_Indexation_Route::run_indexation_action( $indexation_action, $url );
Parameters
- $indexation_action
- ( Indexation_Action_Interface ) required – The indexing action.
- $url
- ( string ) required – The url of the indexing route.
Returns
WP_REST_Response The response.
Source
File name: wordpress-seo/src/routes/abstract-indexation-route.php
Lines:
1 to 10 of 10
protected function run_indexation_action( Indexation_Action_Interface $indexation_action, $url ) { $indexables = $indexation_action->index(); $next_url = false; if ( \count( $indexables ) >= $indexation_action->get_limit() ) { $next_url = \rest_url( $url ); } return $this->respond_with( $indexables, $next_url ); }