Subscribe by email - notify of products in marketpress


Just wondering if you can change the post type for these notifications to be products from market press instead of posts?


  • Philip John
    • DEV MAN’s Apprentice


    Sure, you just need to change line 278 of subscribe-by-email.php from
    if ($post->post_type == 'post'){

    if ($post->post_type == 'my-custom-post-type'){

    where my-custom-post-type is the name of your post type.

    Don't forget that such a change will need to be re-done everytime you upgrade to a newer version of the plugin.


Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.