Guest User

Test

a guest
Oct 31st, 2022
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. /**
  2. * Filter to disable multiple SEO Contest tests
  3. */
  4. add_filter('rank_math/researches/tests', function ($tests, $type) {
  5. unset(
  6. $tests['titleHasNumber'],
  7. $tests['contentHasTOC'],
  8. $tests['titleSentiment'],
  9. $tests['titleHasPowerWords'],
  10. $tests['contentHasShortParagraphs'],
  11. $tests['contentHasAssets'],
  12. $tests['keywordInTitle'],
  13. $tests['keywordInMetaDescription'],
  14. $tests['keywordInPermalink'],
  15. $tests['keywordIn10Percent'],
  16. $tests['keywordInContent'],
  17. $tests['keywordInSubheadings'],
  18. $tests['keywordInImageAlt'],
  19. $tests['keywordDensity'],
  20. $tests['keywordNotUsed'],
  21. $tests['lengthContent'],
  22. $tests['lengthPermalink'],
  23. $tests['linksHasInternal'],
  24. $tests['linksHasExternals'],
  25. $tests['linksNotAllExternals'],
  26. $tests['titleStartWithKeyword'],
  27. $tests['hasContentAI']
  28. );
  29. return $tests;
  30. }, 10, 2);
Advertisement
Add Comment
Please, Sign In to add comment