---
title: Developer Hooks for Skyboot Internal Note
description: "Extend Skyboot Internal Note with filters and actions: add modules, statuses, priorities and capabilities, react to note changes, and add admin screens."
url: "https://skybootstrap.com/docs/skyboot-internal-note/developer-hooks/"
canonical_url: "https://skybootstrap.com/docs/skyboot-internal-note/developer-hooks/"
date: "2026-11-21T12:22:11+06:00"
modified: "2026-11-21T12:23:17+06:00"
author: Skybootstrap Team
type: article
site: SkyBootstrap
language: en-US
---

# Developer Hooks for Skyboot Internal Note

Skyboot Internal Note is built from modules, and every part of it can be extended with WordPress filters and actions. Every hook starts with `skbin_`. You can add your own module, add statuses or priorities, react when notes are created, updated or deleted, filter note queries and add screens. The current API version is `SKBIN_API_VERSION` 1.0.0.

## How do I add a module?

Extend `SKBIN_Module` and register it with `skbin_register_modules`:

```
class SKBIN_Module_Mentions extends SKBIN_Module {
public function id() { return 'mentions'; }
public function title() { return __( 'Mentions', 'my-textdomain' ); }
public function dependencies() { return array( 'notes' ); }

public function init() {
add_action( 'skbin_note_created', array( $this, 'parse_mentions' ), 10, 2 );
}
}

add_filter( 'skbin_register_modules', function ( $modules ) {
$modules[] = new SKBIN_Module_Mentions();
return $modules;
} );
```

Your module then appears on **Internal Notes > Modules** and can be switched on and off like the built-in ones. Register it on `plugins_loaded` at priority 15, after the plugin boots and before it loads modules at 20.

## Which hooks change the vocabulary?

| Hook | Type | Use |
| --- | --- | --- |
| `skbin_note_statuses` | filter | Add or rename statuses (slug => label) |
| `skbin_need_work_statuses` | filter | Which statuses count as needing work |
| `skbin_note_priorities` | filter | Add or rename priorities |
| `skbin_capabilities` | filter | Add capabilities; they appear on the Permissions matrix |
| `skbin_default_capabilities` | filter | Capabilities each role starts with |
| `skbin_available_post_types` | filter | Post types offered in Settings |
| `skbin_assignable_users` | filter | Users offered in the Assigned user list |
| `skbin_workspace_colors` | filter | My Workspace colors |

## Which hooks fire when notes change?

| Hook | Type | Arguments |
| --- | --- | --- |
| `skbin_note_created` | action | `$note_id`, `$row` |
| `skbin_note_updated` | action | `$note_id`, `$changed`, `$before` |
| `skbin_note_deleted` | action | `$note_id`, `$note` |

## How do I filter note queries?

`skbin_note_query_args`, `skbin_note_query_join`, `skbin_note_query_where` and `skbin_note_query_orderby` adjust the notes query. The notes table is aliased `n`, and posts as `p` when joined. Anything you add to the join or where clauses is raw SQL, so always use `$wpdb->prepare()`.

## How do I add screens, columns and dashboard cards?

| Hook | Type | Use |
| --- | --- | --- |
| `skbin_admin_pages` | filter | Add a screen (slug, titles, capability, position, callback) |
| `skbin_admin_tabs` | filter | Change the tabs at the top of each screen |
| `skbin_enqueue_page_assets` | action | Load assets for a screen |
| `skbin_notes_list_columns` / `skbin_notes_list_column` | filter | Add All Notes columns |
| `skbin_notes_bulk_actions` / `skbin_bulk_action` | filter | Add bulk actions |
| `skbin_dashboard_cards` | filter | Add dashboard stat cards |
| `skbin_metabox_form_fields` | action | Add fields to the editor box |
| `skbin_settings_fields` | action | Add settings fields |

## How do I check whether a feature is on?

```
if ( SKBIN()->feature( 'reports' ) ) {
// The Reports module is loaded.
}
```

Ask about a specific module rather than about Pro: `SKBIN()->feature()` returns false for unknown module IDs, so it is always safe.

Building something for editorial teams? [Skyboot Internal Note](https://skybootstrap.com/skyboot-internal-note/) is designed to be extended.

## FAQ

### Are the hook names stable?

Yes. Hook names are a public API and are not renamed. New hooks are added instead.

### How do I add a custom status?

Add it with `skbin_note_statuses`, then decide with `skbin_need_work_statuses` whether it counts as needing work.

### Can my module have its own settings?

Yes. Return defaults from `settings()` and clean them in `sanitize_settings()`. Settings that no module claims are kept, so switching a module off never loses its settings.

### How do I make an add-on refuse to load on an old version?

Check `defined( 'SKBIN_API_VERSION' )` and compare it with `version_compare()` before registering anything.