Advertisement
kwasinski

Action

May 11th, 2023
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | Software | 0 0
  1. <?php declare(strict_types = 1);
  2.  
  3. namespace NameSpace\Units\Core\Actions;
  4.  
  5. use NameSpace\Units\Core\Registers\AbstractRegister;
  6. use NameSpace\Units\Core\Registers\Interfaces\AbstractRegisterInterface;
  7.  
  8. use NameSpace\Units\Admin\Actions\AdminAction;
  9. use NameSpace\Units\Store\Actions\FflAction;
  10. use NameSpace\Units\Store\Actions\StoreAction;
  11.  
  12. abstract class Action extends AbstractRegister implements AbstractRegisterInterface
  13. {
  14. protected const REGISTER_FUNCTION = 'add_action';
  15.  
  16. public static function register(): void
  17. {
  18. AdminAction::register();
  19.  
  20. self::init();
  21. }
  22. }
  23.  
Tags: php wordpress
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement