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 (7)
  • others (55)
  • security (2)
  • tech (36)
  • wordpress (2)

apache aws awscli azure backup cloud coffee coreos distributed filesystem docker ec2 EL8 elasticcache etckeeper featured heartbleed kernel linux mail meltdown mysql php pine python rdp rds Redhat Red Hat RHEL RHEL7 rpm Ryzen snapshot spectre SSL systemd tech terraform ubuntu ubuntu upgrade vector vpn wordpress xtreemfs yum

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