• Resolved Damienov

    (@damienov)


    I’m using this code from the Rankmath knowledgebase to disable a few SEO test

    add_filter( 'rank_math/researches/tests', function( $tests, $type ) {
    	unset(
    		$tests['titleHasNumber'],
    		$tests['contentHasTOC'],
    		$tests['titleSentiment'],
    		$tests['titleHasPowerWords']
    	);
        return $tests;
    }, 10, 2 );

    the code only disable the test on first set of Focus keyword, it will show on the other set of keywords other than the first if I have more than 1 set of focus keyword

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Rank Math SEO

    (@rankmath)

    Hello @damienov,

    Thank you for contacting the support and sorry for not following up quickly and any inconvenience that might have been caused due to that.

    It seems like an issue on our end and we have fixed it internally.

    The fix will be added in the upcoming update. We will keep you informed.

    In the meantime, if there’s anything else we can help you with, please let us know.

    We are here to assist.

    Thread Starter Damienov

    (@damienov)

    Thank you for the fix, will these be pushed on the next update?

    Plugin Author Rank Math SEO

    (@rankmath)

    Hello,

    Assuming you are already using the latest version of all the plugins, themes and WordPress & the issue is resolved, we are closing this topic.

    If that is not the case, please feel free to open a new support topic or reply to this one and we will be more than happy to assist.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Bug] Disabling test only works on first set of Focus Keywords’ is closed to new replies.