• Resolved bertlio

    (@bertlio)


    Hi Alex,
    Hope all is well!

    In continuity to my attempt to filter all spammy URLs on my specific website hosting contributors… I was able to use add_filter('comment_text', 'remove_html_link_comment'); to replace matching plain URLs i.e not hyperlinked, with: (Content Hidden) in the Comments section.

    Example of Post’s Comment section:
    Please get this deal at (Content Hidden).

    But the Alx Tabs’s Recent Comments is showing:
    Please get this deal at https://www.spammyurl.com.

    Is there a way to filter the comments before it displays in the Alx Tabs? How can one catch it please?

    Thanking you in advance for a solution.

    Cheers,
    Bertlio.

    • This topic was modified 6 years, 3 months ago by bertlio.
    • This topic was modified 6 years, 3 months ago by bertlio.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Alx Tabs – How to *filter/replace* Recent Comments’ is closed to new replies.