Error in settings for CPT
-
Getting the following error in the Subscribe2 settings page:
Subscribe2 will send email notifications for the following custom post types:
Warning: ucwords() expects parameter 1 to be string, array given in …/wp-content/plugins/subscribe2/admin/settings.php on line 219In my functions.php I have added my custom post types using the following function:
// Adds CPT to Subscribe2 function my_post_types($types) { $types[] = array('crush_doc', 'crush_update'); return $types; } add_filter('s2_post_types', 'my_post_types');Right now, S2 is *not* sending out emails to our Members for these post types. How can I fix this?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Error in settings for CPT’ is closed to new replies.