: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
namespace Yoast\WP\SEO\Actions\Indexing;
use Yoast\WP\SEO\Helpers\Indexable_Helper;
* Indexing action to call when the indexable indexing process is completed.
class Indexable_Indexing_Complete_Action {
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.
public function complete() {
$this->indexable_helper->finish_indexing();