Title: &#8220;added trigger&#8221; not working
Last modified: March 13, 2020

---

# “added trigger” not working

 *  [deksia](https://wordpress.org/support/users/deksia/)
 * (@deksia)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/added-trigger-not-working/)
 * When I installed the acf extension, the added trigger stopped working. The update
   trigger still works fine. Is this a known bug? Here is my code, but the UI generated
   notification acts the same
    add_action( ‘notification/trigger/registered’, function(
   $trigger ) {
 *  if ( ‘wordpress/post/added’ !== $trigger->get_slug() ) {
    return; }
 *  $content = ‘Quote Link: {post_permalink}’;
 *  notification( [
    ‘hash’ => uniqid(), ‘title’ => $trigger->get_name(), ‘trigger’
   => $trigger, ‘carriers’ => [ ’email’ => [ ‘activated’ => true, ‘enabled’ => true,‘
   subject’ => ‘New Quote has been created for: {acf {post_ID} client_name}’, ‘body’
   => $content, ‘recipients’ => [ [ ‘type’ => ‘administrator’, ‘recipient’ => ‘{
   post_author_user_email}’, ], ], ], ], ‘enabled’ => true, ‘extras’ => [], ‘version’
   => time(), ] );
 * } );
    -  This topic was modified 6 years, 2 months ago by [deksia](https://wordpress.org/support/users/deksia/).
    -  This topic was modified 6 years, 2 months ago by [deksia](https://wordpress.org/support/users/deksia/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [Kuba Mikita](https://wordpress.org/support/users/kubitomakita/)
 * (@kubitomakita)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/added-trigger-not-working/#post-12546565)
 * Hi, this sounds like the ACF Integration issue. See this class: [https://github.com/BracketSpace/Notification/blob/master/class/Integration/CustomFields.php](https://github.com/BracketSpace/Notification/blob/master/class/Integration/CustomFields.php)
 * Btw `notification/trigger/registered` doesn’t look like a good place to register
   the notification. Use `notification/boot` instead.

Viewing 1 replies (of 1 total)

The topic ‘“added trigger” not working’ is closed to new replies.

 * ![](https://ps.w.org/notification/assets/icon-256x256.gif?rev=3476901)
 * [Notification - Custom Notifications and Alerts for WordPress](https://wordpress.org/plugins/notification/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/notification/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/notification/)
 * [Active Topics](https://wordpress.org/support/plugin/notification/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/notification/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/notification/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Kuba Mikita](https://wordpress.org/support/users/kubitomakita/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/added-trigger-not-working/#post-12546565)
 * Status: not resolved