RankMath Information Display Settings in Code

#23126
Viewing 1 replies (of 1 total)
  • Michael Davis
    Rank Math pro

    Hello,

    Thank you for contacting Rank Math today.

    You can remove the credit notice added to the page source by adding the following code to your theme’s functions.php file:

    /**
     * Filter to remove the plugin credit notice added to the source.
     *
     */
    add_filter( 'rank_math/frontend/remove_credit_notice', '__return_true' );

    You can also remove the credit notice on the sitemap with this filter:

    /**
     * Filter to remove sitemap credit.
     *
     * @param boolean Defaults to false.
     */
    add_filter( 'rank_math/sitemap/remove_credit', '__return_true');

    Looking forward to helping you. Thank you.

    ​​​​​​

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘RankMath Information Display Settings in Code’ is closed to new replies.