Download free
Manage and extend

Developer reference

Hooks, REST routes and the adapter SDK.

Extend Warden without editing it. The same hooks power the Pro add-on.

Hooks

Add data to the job the browser worker receives:

add_filter( 'inqw_worker_job', function ( $job, $form ) {
    $job['my_addon'] = array(
        'form_id' => $form['id'],
    );
    return $job;
}, 10, 2 );

Add a finding to automatic issue detection:

add_filter( 'inqw_issue_findings', function ( $found ) {
    return $found;
} );

REST API

Forms, tests, alerts and health are available over REST, with permission checks and nonces.

Adapter SDK

Warden supports Contact Form 7 today. To teach it another form builder, write a small adapter class. Other builders plug in through that adapter.

Signed webhooks

Pro sends HMAC-signed events and monitors their delivery.

PreviousFree and ProNextTroubleshooting