Ready to get started?Download WordPress


User Spam Remover
[resolved] automatic deletion if no input on custom post types? (2 posts)

  1. banesto
    Posted 3 years ago #

    Does Your plugin checks whether user created some custom post type items? Or is it just pages/posts/links/comments?


  2. joelhardi
    Plugin Author

    Posted 3 years ago #

    Post types are just posts with a different value in the post_type column of the wp_posts table.

    So, the plugin won't remove the user if they have created any custom post type item (a page, an image, or anything else that WordPress stores this way). If the user is the post_author of anything in the wp_posts table (even an unpublished draft) then they won't be deleted.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic