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?

HookTypeUse
skbin_note_statusesfilterAdd or rename statuses (slug => label)
skbin_need_work_statusesfilterWhich statuses count as needing work
skbin_note_prioritiesfilterAdd or rename priorities
skbin_capabilitiesfilterAdd capabilities; they appear on the Permissions matrix
skbin_default_capabilitiesfilterCapabilities each role starts with
skbin_available_post_typesfilterPost types offered in Settings
skbin_assignable_usersfilterUsers offered in the Assigned user list
skbin_workspace_colorsfilterMy Workspace colors

Which hooks fire when notes change?

HookTypeArguments
skbin_note_createdaction$note_id, $row
skbin_note_updatedaction$note_id, $changed, $before
skbin_note_deletedaction$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?

HookTypeUse
skbin_admin_pagesfilterAdd a screen (slug, titles, capability, position, callback)
skbin_admin_tabsfilterChange the tabs at the top of each screen
skbin_enqueue_page_assetsactionLoad assets for a screen
skbin_notes_list_columns / skbin_notes_list_columnfilterAdd All Notes columns
skbin_notes_bulk_actions / skbin_bulk_actionfilterAdd bulk actions
skbin_dashboard_cardsfilterAdd dashboard stat cards
skbin_metabox_form_fieldsactionAdd fields to the editor box
skbin_settings_fieldsactionAdd 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 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.

Updated on November 21, 2026

What are your feelings

  • Happy
  • Normal
  • Sad