Where do I add this pieces of code

#84991
  • Resolved Arturo Portillo
    Rank Math free

    where are these hooks suposed to be put on? https://rankmath.com/kb/filters-hooks-api-developer/

    /**
     * Filter: 'rank_math_remove_reply_to_com' - Allow or disable the Rank Math feature that removes <code>?replytocom</code> 
     * query parameters from URLs.
     * @param bool $return True to remove, false not to remove.
     */
    add_filter( 'rank_math/frontend/remove_reply_to_com', '__return_false');
Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math today.

    The filters are to be added to your them functions.php file.

    You can find this by heading to your WordPress dashboard > Appearance > Theme editor

    Hope that helps. If you have any further question(s), please let us know. 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 ‘Where do I add this pieces of code’ is closed to new replies.