Skip to content

Commit

Permalink
Merge pull request #137 from humanmade/backport-131-to-v8-branch
Browse files Browse the repository at this point in the history
[Backport v8-branch] Enable Yoast db indexing on all envs
  • Loading branch information
roborourke authored Nov 12, 2021
2 parents 218a7e0 + bc96bc0 commit 321cd0c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions inc/namespace.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ function bootstrap( Module $module ) {
add_action( 'wpseo_configuration_wizard_head', __NAMESPACE__ . '\\override_wizard_styles' );
add_action( 'admin_head', __NAMESPACE__ . '\\hide_yoast_premium_social_previews' );

// Intend to save indexables.
add_filter( 'wpseo_should_save_indexable', '__return_true' );

// Migrations.
add_action( 'altis.migrate', __NAMESPACE__ . '\\do_migrations' );
}
Expand Down

0 comments on commit 321cd0c

Please sign in to comment.