PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / 18.4
Yoast SEO – Advanced SEO with real-time guidance and built-in AI v18.4
28.5 28.4 28.3 28.2 28.1 28.0 27.9 27.8 27.7 27.6 27.5 trunk 18.0 18.1 18.2 18.3 18.4 18.4.1 18.5 18.5.1 18.6 18.7 18.8 18.9 19.0 All 129 releases
wordpress-seo / src / actions / indexing / indexable-indexing-complete-action.php

indexable-indexing-complete-action.php in Yoast SEO – Advanced SEO with real-time guidance and built-in AI 18.4, at src/actions/indexing/indexable-indexing-complete-action.php

39 lines 791 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Yoast\WP\SEO\Actions\Indexing;
4
5 use Yoast\WP\SEO\Helpers\Indexable_Helper;
6
7 /**
8 * Indexing action to call when the indexable indexing process is completed.
9 *
10 * @phpcs:disable Yoast.NamingConventions.ObjectNameDepth.MaxExceeded
11 */
12 class Indexable_Indexing_Complete_Action {
13
14 /**
15 * The options helper.
16 *
17 * @var Indexable_Helper
18 */
19 protected $indexable_helper;
20
21 /**
22 * Indexable_Indexing_Complete_Action constructor.
23 *
24 * @param Indexable_Helper $indexable_helper The indexable helper.
25 */
26 public function __construct( Indexable_Helper $indexable_helper ) {
27 $this->indexable_helper = $indexable_helper;
28 }
29
30 /**
31 * Wraps up the indexing process.
32 *
33 * @return void
34 */
35 public function complete() {
36 $this->indexable_helper->finish_indexing();
37 }
38 }
39