diff --git a/src/Attribute/WPAction.php b/src/Attribute/WPAction.php index fa6f4d5..e781803 100644 --- a/src/Attribute/WPAction.php +++ b/src/Attribute/WPAction.php @@ -2,6 +2,6 @@ namespace Crtl\WpPluginBase\Attribute; -#[\Attribute(\Attribute::TARGET_METHOD)] +#[\Attribute(\Attribute::TARGET_METHOD | \Attribute::\IS_REPEATABLE)] class WPAction extends WPHook -{} \ No newline at end of file +{} diff --git a/src/Attribute/WPFilter.php b/src/Attribute/WPFilter.php index cf03644..de9783e 100644 --- a/src/Attribute/WPFilter.php +++ b/src/Attribute/WPFilter.php @@ -2,6 +2,6 @@ namespace Crtl\WpPluginBase\Attribute; -#[\Attribute(\Attribute::TARGET_METHOD)] +#[\Attribute(\Attribute::TARGET_METHOD | \Attribute::\IS_REPEATABLE)] class WPFilter extends WPHook -{} \ No newline at end of file +{}