plugin notifications

    • GONTRÁN URANGA
      Participant
      # 1 year, 10 months ago

      Hello. I would need the private page or file creation format, it would send the notification automatically. I know that with the front office plugin it is solved, but I like the format better without the plugin, and I would like to know if there is a way to send the notification automatically without clicking on the notification box.
      Thank you
      gontran uranga

    • Thomas
      Keymaster
      # 1 year, 10 months ago

      Hi,

      but I like the format better without the plugin

      I’m actually not sure what you there.

       I would like to know if there is a way to send the notification automatically without clicking on the notification box

      We have a code snippet that will check the box by default so you don’t have to click on it.
      Please refer to our Code Snippets documentation to know how to use that.

      /**
       * Auto-check the admin notification box
       * @return string
       */
      function wpca_notification_box_auto_selected()
      {
      	return 'checked';
      }
      add_filter('cuar/notifications/send-notification-meta-box/default-checkbox-value', 'wpca_notification_box_auto_selected');

      Regards.

      Want to help WP Customer Area? It only takes few seconds!
      Rate & review the plugin on WordPress.org 🙂

    • GONTRÁN URANGA
      Participant
      # 1 year, 10 months ago

      Thank you very much Thomas. I have put the code in my theme’s function.php file and it works perfectly.

Viewing 2 reply threads

The topic ‘plugin notifications’ is closed to new replies.