Skip to content

For developers

Built to be extended, not forked.

Davo is a WordPress plugin, so it speaks WordPress: actions, filters and REST routes. This reference lists every one found in the plugin source, version 1.0.0.

346
actions
438
filters
527
REST routes
81
public routes
functions.php
add_action(
  'davo_ticket_status_changed',
  function ( int $ticket_id, string $from, string $to, int $actor_id ) {
    error_log( "#{$ticket_id}: {$from} → {$to}" );
  },
  10,
  4
);

Quick start

Three things you can do today.

Each uses a hook or route that exists in the source, with the parameters it passes.

  1. React to a status change

    An action that fires after a ticket’s status changes.

    add_action
    add_action(
      'davo_ticket_status_changed',
      function ( int $ticket_id, string $from, string $to, int $actor_id ) {
        error_log( "#{$ticket_id}: {$from} → {$to}" );
      },
      10,
      4
    );
  2. Change a default

    A filter for how many related articles each article shows. It defaults to the setting, 5 if unset.

    add_filter
    add_filter(
      'davo_article_related_limit',
      fn () => 8
    );
  3. Call a route

    The list of enabled social sign-in providers is public.

    curl
    curl https://example.com/wp-json/davo/v1/social-login/providers

Where it lives

Browse by domain.

Each domain is a feature of Davo, such as tickets, articles or questions. Pick one for its hooks or its routes.

The twelve largest domains are shown. The full lists have filters for all 54.

Good to know

What this reference is, and isn’t.

  • Generated from the source

    The lists are built by scanning the plugin code, so they list what exists. Descriptions and parameters come from the code’s own comments, and 771 of the hooks have one. The rest show the arguments passed and where they are called from.
  • Access is shown as the check’s name

    513 of the 527 routes have a description in the code, and the others show their handler. A route marked Public is open to everyone. For any other route the page shows the name of the permission check in the code, such as require_agent. It does not translate that into a role.
  • No stability promise

    The source does not mark hooks as public or internal, and this page does not either. Treat a hook you depend on as something to test on each update.
  • Names built at runtime

    A few hooks add a suffix to their name, such as a content type. They appear as the prefix followed by {suffix}.

Note. No SDK, client library or API versioning policy is claimed here. Routes live under the davo/v1 namespace. The reference was generated from the plugin source, not from a live site.

See it on your own site.

Davo is a WordPress theme and plugin by Exorex.

  • Runs on your own WordPress
  • Guided setup wizard
  • AI is off until you switch it on
  • Read the licence on the marketplace first