plugin notifications

    • GONTRÁN URANGA
      Participant
      # il y a 1 année et 11 mois

      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
      Maître des clés
      # il y a 1 année et 11 mois

      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
      # il y a 1 année et 11 mois

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

Vous lisez 2 fils de discussion

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