How can I add UnClaim as the default?

As the default, when an user add a listing, the listing will be added to Claimed status.

If you want to change it, please do the following steps:

  1. Activate the Child Theme How Can I setup Wilcity Child Theme?
  2. Then put the following code to functions.php of the Child Theme
add_filter('wilcity/filter/wiloke-listing-tools/addlisting/claim-status', function($status, $listingId) {
   $currentStatus = WilokeListingTools\Framework\Helpers\GetSettings::getPostMeta($listingID, 'claim_status', true);
  if ($currentStatus != "claimed") {
     $status = 'not_claim';
  return $status;
}, 10, 2);


Leave A Comment?