• Hello sir,
    Great plugin i really like it.

    but i want to know how can i make the plugin to delete that timed-content part once the time is over. not just to hide only front end but also delete that content from admin area of wordpress post.

    Because i have thousands of content which need to be hidden at specific date, but i cant come back to that content/part of the content and remove the content manually because it is no longer needed to be shown again.

    if i dont delete it will consume lot of space in our sql database which is quite big issue.

    so is there any option to achive it. or maybe in your next release.

    there might be three option to :

    1 – Show on specific date on front end.
    2- hide on specif date on front end
    3- delete the shortcoded content after specific date from wordpress backend and also remove from database.

Viewing 1 replies (of 1 total)
  • Plugin Author Arno Welzel

    (@awelzel)

    Technically it would be possible to change post content within a plugin.

    However I won’t do this for several reasons:

    1) I is a real dangerous operation!

    Just imagine you define a global rule which says “delete after May 1, 2020” and use that rule in many posts.

    On May 2, 2020 suddenly content in many posts gets deleted – and this deletion can not be undone.

    2) It is completely against how shortcodes work when the existance of a shortcode alone can cause content to get deleted!

    3) Fetching all existing posts/pages to check wether they contain parts which have to be deleted is a quite expensive operation which puts a lot of load to the server – probably much more load than just leaving the content as it is and just hiding it when a single post is requested by a visitor.

    Of course anyone with enough PHP knowledge can implement something like this. It will just not be part of Timed Content.

    About how many posts are we talking here? I’ve been using Timed Content on websites with about 3000 posts and up to 1 mio. requests per month without any issue.

Viewing 1 replies (of 1 total)
  • The topic ‘Auto Delete Hided Content’ is closed to new replies.