PATH:
var
/
www
/
clients
/
client1
/
web1
/
web
/
wp-content
/
wordpress-seo
/
src
/
routes
<?php namespace Yoast\WP\SEO\Routes; use WP_REST_Response; use Yoast\WP\SEO\Actions\Indexing\Indexation_Action_Interface; /** * Abstract_Indexation_Route class. * * Reindexing route for indexables. */ abstract class Abstract_Indexation_Route extends Abstract_Action_Route { /** * Runs an indexing action and returns the response. * * @param Indexation_Action_Interface $indexation_action The indexing action. * @param string $url The url of the indexing route. * * @return WP_REST_Response The response. */ 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 ); } }
[-] wincher-route.php
[edit]
[-] importing-route.php
[edit]
[-] first-time-configuration-route.php
[edit]
[-] yoast-head-rest-field.php
[edit]
[-] indexing-route.php
[edit]
[-] workouts-route.php
[edit]
[-] indexables-page-route.php
[edit]
[-] semrush-route.php
[edit]
[-] abstract-indexation-route.php
[edit]
[-] alert-dismissal-route.php
[edit]
[-] integrations-route.php
[edit]
[-] indexables-head-route.php
[edit]
[-] abstract-action-route.php
[edit]
[-] supported-features-route.php
[edit]
[-] meta-search-route.php
[edit]
[+]
..
[-] route-interface.php
[edit]