Skip to main content
Version: v9 (Current)

WordPress Notification Plugin Runtime API Reference

WordPress Notification plugin runtime system is the core architecture that manages plugin initialization, component access, and service management. The plugin initializes on WordPress init hook with priority 5, providing developers with comprehensive runtime API access for building custom extensions and integrations.

To get the Runtime object:

$runtime = \Notification::runtime();

To get the Settings component:

// via the component
use BracketSpace\Notification\Core\Settings;

$settings = \Notification::component(Settings::class);

// or via the alias
$settings = \Notification::settings()

To get the plugin version:

$version = \Notification::version();

To get the plugin filesystem:

$fs= \Notification::fs();
note

Please note the Notification class lives in the global namespace.