Title: post type question
Last modified: April 9, 2018

---

# post type question

 *  [bruinkid](https://wordpress.org/support/users/bruinkid/)
 * (@bruinkid)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/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)

 *  [Matt Robinson](https://wordpress.org/support/users/mattyrob/)
 * (@mattyrob)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/post-type-question/#post-10161326)
 * [@bruinkid](https://wordpress.org/support/users/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.

 * ![](https://ps.w.org/subscribe2/assets/icon-256x256.png?rev=2318630)
 * [Subscribe2 - Form, Email Subscribers & Newsletters](https://wordpress.org/plugins/subscribe2/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/subscribe2/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/subscribe2/)
 * [Active Topics](https://wordpress.org/support/plugin/subscribe2/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/subscribe2/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/subscribe2/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Matt Robinson](https://wordpress.org/support/users/mattyrob/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/post-type-question/#post-10161326)
 * Status: not resolved