Update Docker configuration and plugin versions
- Upgrade MariaDB from 10.6 to 11 with auto-upgrade support
- Add WordPress debug environment variable to FPM container
- Update PHP-FPM Dockerfile base image
- Update Include Mastodon Feed plugin with bug fixes and improvements
- Update Portfolio plugin (v2.58) with latest translations and demo data enhancements
- Remove old README.md from Mastodon Feed plugin
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
<?php
/**
* Event dispatcher
*
* @package Requests\EventDispatcher
*/
namespace WpOrg\Requests;
/**
* Event dispatcher
*
* @package Requests\EventDispatcher
*/
interface HookManager {
/**
* Register a callback for a hook
*
* @param string $hook Hook name
* @param callable $callback Function/method to call on event
* @param int $priority Priority number. <0 is executed earlier, >0 is executed later
*/
public function register($hook, $callback, $priority = 0);
/**
* Dispatch a message
*
* @param string $hook Hook name
* @param array $parameters Parameters to pass to callbacks
* @return boolean Successfulness
*/
public function dispatch($hook, $parameters = []);
}