• Resolved krauter

    (@krauter)


    I have a custom post type that I would like to be instantly deletable from the admin area – right now there is only an option for sending a post to trash, and after that “delete permanently” but only after it is in the trash. Is it possible to bypass the trash and have the “delete permanently” link available for the posts?

Viewing 1 replies (of 1 total)
  • Thread Starter krauter

    (@krauter)

    It turned out that the Trash feature can be disabled by adding this line to wp-config.php:

    define ('EMPTY_TRASH_DAYS', 0);

Viewing 1 replies (of 1 total)

The topic ‘Instant delete (bypassing trash) for custom posts?’ is closed to new replies.