Function: Including a custom post type in searches

txt doc link

separate each post type name by a comma (ex: ‘examples’, ‘snippets’)

no need for a plugin!