DefiniteSEO Pro for developers: hooks, REST, and WP-CLI
A high-level pointer to the plugin's programmatic surface. This is not a full API reference.
Plan: All Pro plans
Scope of this page
This documentation is written for site admins. This page is a short map for developers who need
to extend or integrate with DefiniteSEO Pro. For exact signatures, read the source in the plugin
directory.
Extensibility filters
The plugin defines several filters for integrators, including toggles for agency lockdown and the
internal-linking source exclusion. Search the codebase for apply_filters to see the current
set. Notable examples:
dseop_white_label_ui_lockedanddseop_pro_deactivation_locked: agency lockdown toggles.dseop_ilm_source_excluded_post_ids: exclude source posts from internal linking.
The plugin also fires action hooks around the autofix, autopilot, image, and internal-linking
pipelines. Search for do_action in the module directories under admin/.
REST API
Each module registers REST routes on rest_api_init. Controllers live in the *-rest.php
classes:
- Autofix:
admin/autofix/class-dseop-autofix-rest.php - Autopilot:
admin/autopilot/class-dseop-autopilot-rest.php - Image SEO:
admin/image-seo/class-dseop-ism-rest.php - Internal Linking:
admin/internal-linking/class-dseop-ilm-rest.php
WP-CLI commands
Two command namespaces are registered when WP-CLI is available:
wp dseop ism: image SEO status, sweeps, and reindexing (admin/image-seo/cli/).wp dseop ilm: internal-linking indexing, queue, pillars, and coverage
(admin/internal-linking/class-dseop-ilm-cli.php).
Database tables
The plugin creates custom tables via dbDelta in the activator classes, covering the autofix
log and jobs, the image index and usage, and the internal-linking index, links, and queue. See
includes/class-seo-with-definite-seo-pro-activator.php and the module activator classes.
Where to start reading
- Bootstrap and wiring:
seo-with-definite-seo-pro.phpand
includes/class-seo-with-definite-seo-pro.php. - Naming and coding standards:
phpcs.xml. - Build tooling:
composer.json,package.json, and the React app underapp/.