.. _extending_hook: ###################### Hooks ###################### ******* Actions ******* psn_after_load_services ----------------------- The action ``psn_after_load_services`` applies after PSN's built-in notification services got loaded. Use it to load your own notification service. For more details see :ref:`extending_notification_service`. Parameter(s) ^^^^^^^^^^^^ #. ``object Psn_Notification_Manager $notificationManager`` Example ^^^^^^^ .. code:: addService( new Psn_Module_Example_Service_MyService() ); } psn_notification_placeholders_loaded ------------------------------------ The action ``psn_notification_placeholders_loaded`` applies after PSN's built-in placeholders got loaded. Use it to add your custom placeholders. Parameter(s) ^^^^^^^^^^^^ #. ``object Psn_Notification_Placeholders $placeholders`` Example ^^^^^^^ .. code:: addPlaceholder('my_awesome_placeholder', 'with_awesome_content'); } ******* Filters ******* psn_rule_notification_subject ----------------------------- The filter ``psn_rule_notification_subject`` applies on the subject of the matching notification rule. Parameter(s) ^^^^^^^^^^^^ #. ``string $subject`` #. ``object Psn_Model_Rule $rule`` .. code::