// NAV: Disable Automatic Emptying for Trash
add_action( 'init', function() {
remove_action( 'wp_scheduled_delete', 'wp_scheduled_delete' );
} );
Disable Automatic Emptying for Trash
Disable automatically deleting trashed posts after 30 days.