# wordpress-seo/18.3/src/actions/indexing/indexable-indexing-complete-action.php

Yoast SEO – Advanced SEO with real-time guidance and built-in AI, version 18.3. 39 lines.

- Page: https://pluginprobe.com/plugins/wordpress-seo/18.3/code/src/actions/indexing/indexable-indexing-complete-action.php
- Raw: https://pluginprobe.com/plugins/wordpress-seo/18.3/raw/src/actions/indexing/indexable-indexing-complete-action.php
- Modified: 2021-09-29T15:26:50+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wordpress-seo/18.3/code/src/actions/indexing/indexable-indexing-complete-action.php#L10-L20`.

```php
<?php

namespace Yoast\WP\SEO\Actions\Indexing;

use Yoast\WP\SEO\Helpers\Indexable_Helper;

/**
 * Indexing action to call when the indexable indexing process is completed.
 *
 * @phpcs:disable Yoast.NamingConventions.ObjectNameDepth.MaxExceeded
 */
class Indexable_Indexing_Complete_Action {

	/**
	 * The options helper.
	 *
	 * @var Indexable_Helper
	 */
	protected $indexable_helper;

	/**
	 * Indexable_Indexing_Complete_Action constructor.
	 *
	 * @param Indexable_Helper $indexable_helper The indexable helper.
	 */
	public function __construct( Indexable_Helper $indexable_helper ) {
		$this->indexable_helper = $indexable_helper;
	}

	/**
	 * Wraps up the indexing process.
	 *
	 * @return void
	 */
	public function complete() {
		$this->indexable_helper->finish_indexing();
	}
}

```
