Developers English WordPress Plugin

Disable Claim for Listeo: Developer Guide

Technical guide for claim visibility filters, listing type/category settings, template interception, and safe customizations.

Disable Claim for Listeo Version 1.0 13 min read Updated Jul 5, 2026
Developer scope. This guide covers safe template and rule customizations for Disable Claim for Listeo. Do not alter license activation, update checks, or product entitlement logic.

How the plugin works

The plugin evaluates the current listing against saved listing-type and category rules. If claim is disabled, it can filter the claim display, remove the claim template, hide claim UI with CSS, or intercept clicks with a custom message.

Options

OptionPurpose
listeo_disable_claim_typesSelected listing types where claim is disabled.
listeo_disable_claim_categoriesSelected taxonomy/category pairs where claim is disabled.
listeo_disable_claim_hide_buttonControls whether the claim UI is hidden or shown as disabled.
listeo_disable_claim_custom_messageMessage shown when disabled-message mode is used.

Hooks and filters

Hook/filterPurpose
listeo_show_listing_claimFilters whether claim should be shown for a listing.
listeo_before_claim_sectionRuns before the claim section is rendered.
listeo_core_get_templateCan prevent the claim template from loading.
listeo_disable_claim_listing_typesAdjust listing types shown in settings.
listeo_disable_claim_category_taxonomiesAdjust category taxonomies considered by settings.

Safe customizations

  • Add custom CSS for the disabled claim state.
  • Use filters to expose custom listing types or taxonomies in the settings UI.
  • Build reporting for restricted claim categories.
  • Keep existing claim removal logic in place when adding extra conditions.
  • Keep license AJAX actions such as ldc_activate_license and ldc_deactivate_license untouched.

Regression tests

  • Restricted listing type hides or disables claim correctly.
  • Restricted category hides or disables claim correctly.
  • Unrestricted listings continue to use normal Listeo claim behavior.
  • Custom taxonomies work if added through filters.
  • Cache/minification does not re-enable claim UI unexpectedly.