Forums

How can I filter the add post edit post? any plugin? (2 posts)

  1. jiltin
    Member
    Posted 2 years ago #

    I have opened my site jiltin.com to public access. All new users are set to author and they can publish. Currently, I am scanning all the post_content using linux crontab and deleting the post which is not allowed (I have few rules like obscene issues, legal issues with keywords). If there any plugin for this to filter the post content based on keywords, please let me know. The cron job is running every 30 seconds scanning all the entries which may be an issue going forward as my daily hits are increasing every week. I wanted to filter the wp_posts.post_title and post_content before saving it.

  2. jiltin
    Member
    Posted 2 years ago #

    experts, please let me know.

    I am seeing three hooks, save_post, edit_post and publish_post. Do I need to handle all of them or provide me some clue/idea.

    Thanks in advance.
    Jiltin

Topic Closed

This topic has been closed to new replies.

About this Topic