• Resolved JohanvdMolen

    (@pixelive)


    In WordPress you can disable the trash post feature but this gives errors with the plugin, because in some places it expects the trash.

    File: wp-content/plugins/back-in-stock-notifier-for-woocommerce/includes/admin/class-post-type.php

    Linenumbers: 296 and 299.

    Can you add an isset check there?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter JohanvdMolen

    (@pixelive)

    To disable the trash feature place this in your wp-config:

    define( 'EMPTY_TRASH_DAYS', 0 );

    Plugin Support CodeWooGeek Support

    (@codewoogeeksupport)

    Hello there,

    Good Day!!

    Thanks for the great suggestion.

    Sure, we will review it. We also passed this along to our development team, and we try to include it in our upcoming/next version based on its feasibility.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Trash action not always defined’ is closed to new replies.