Support » Plugin: Subscribe2 » post type question

  • Hi, I add the code below to add post type ‘job’. If I add the below code, does email send out posts from both post types ‘job’ and ‘post’, or only ‘job’?

    It seems if I add code below, it will send ‘job’ only, and ‘post’ will not got sent. But if I don’t add code below, then posts will got sent from default ‘post’ post type.

    // add job post type to subscribe2
    function jobs($types) {
    $types[] = ‘job’;
    return $types;
    }

    add_filter(‘s2_post_types’, ‘jobs’);

Viewing 1 replies (of 1 total)
  • Plugin Support mattyrob

    (@mattyrob)

    @bruinkid

    That code would add the ‘job’ post type to the array of post types for sending so notifications would send for’job’ and ‘post’ types.

Viewing 1 replies (of 1 total)
  • The topic ‘post type question’ is closed to new replies.