- Resolved method naming inconsistency in the
HooksInterface
implementation - Ensured both WordPress-style method names (
applyFilters()
,doAction()
) and simplified names (filter()
,action()
) work consistently - Fixed compatibility issues with applications expecting WordPress-style hook method names
- Refactored code to follow DRY and KISS principles
- Removed redundant
Hook
class in favor of direct implementation inHooksManager
- Standardized method naming across the codebase
- Improved method documentation with comprehensive PHPDoc comments
- Optimized hook callback execution
- Simplified internal data structures for better performance and maintainability
- Changed namespace vendor name from
SimpeMediaCode
toSimplemediacode
un-WordPress-ed
- Complete refactoring to modern PHP architecture
- Renamed
WP_Hook
toHook
- Introduced
HooksInterface
andHooksManager
- Removed global variables and functions
- Added static
Hooks
facade for backward compatibility - Improved type safety with PHP 8+ return types
- Added missing method definitions to
HooksInterface
:getHookCount()
,isExecutingHook()
, andgetCurrentHook()
- Fixed consistency between interface methods and their implementations
- PHP 8.3 and 8.4 support tags
- Better compitability with PHP8
- Moves forward to the next element in
next
method.
composer.json
update: authors.- updated README.md: removing "repositories" note
- composer tags, validation
- do not load helper file. Implementation is up to Developer.
initial
- remove dependency from internal WordPress filesystem
- renaming
$wp_
* to$wphook_
* to avoid conflict with WordPress - renaming
_*()
functions to "normal"- Example:
_wp_filter_build_unique_id()
=>wp_filter_build_unique_id()
- Example: