Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Rank Math snippet to disable 'contentHasTOC' tests.
- *
- * @param array $tests Array of tests with score
- * @param string $type Object type. Can be post, user or term.
- */
- add_filter( 'rank_math/researches/tests', function( $tests, $type ) {
- unset($tests['content-readability']['contentHasTOC']);
- $tests['basic']['keywordInMetaDescription']['score'] = 4;
- return $tests;
- }, 10, 2 );
Add Comment
Please, Sign In to add comment