Menu
blog.headdesk.me
blog.headdesk.me

Tag: comment

Writing a wordpress plugin to filter comments

I’m completely new to wordpress plugin development. I want to write a plugin to delete comments I don’t want based on a keyword list. Update: WordPress already comes with this feature under Comment Moderation The code The code isn’t complex. It first use the preprocess_comment hook to check the comment content. If it contains hyperlinks,…

  • aws (8)
  • coffee (1)
  • headfi (1)
  • linux (6)
  • others (58)
  • security (2)
  • tech (36)
  • wordpress (2)

apache aws awscli azure backup clearlinux cloud coffee docker DOCP ec2 EL8 epyc espresso featured gpg jenkins kernel lelit linux lvm meltdown memory MFA mikrotik php python rdp Redhat RHEL roasting rpm Ryzen site-to-site snapshot spectre tech terraform tuning ubuntu ubuntu upgrade vim vpn wordpress xdotool

©2023 blog.headdesk.me | Powered by SuperbThemes & WordPress