Does Notifly work for custom post types? (3 posts)

  1. Dana
    Posted 4 years ago #

    Can I use notifly for a custom post type and not the regular post taxonomy? If so, is there any documentation on that?



  2. Samuel Wood (Otto)
    WordPress.org Tech Dude
    Plugin Author

    Posted 4 years ago #

    Notifly will work with any custom post types that have their 'public' flag set to true.

    If you want to decide more granularly, you can use the trigger_notifly_post filter. It will get the post object as the second argument. It must return true or false. True means to send the email, false means to not send it.

    function your_function($trigger, $post) {
    // decide based on post whether or not to send email
    return true; // true = send email
  3. Dana
    Posted 4 years ago #

    Awesome, thanks!

    What you are referring is filter by post type then? So if I only want post types and not the main posts I can do that?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Notifly
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic