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:
- Activate the Child Theme How Can I setup Wilcity Child Theme?
- 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);