Hi MattyRob,
I was expecting the CPTs registered via GD Taxonomies to show up in:
/wp-admin/users.php?page=s2_users (and the settings page: /wp-admin/options-general.php?page=s2_settings). Essentially, get recognized/parsed by Subscribe2.
Regarding the code pasted, I did specify the slug names (tried just one CPT I have registered, then all three; neither case worked).
function my_post_types($types) {
$types[] = 'MYPOSTTYPE';
return $types;
}
add_filter('s2_post_types', 'my_post_types');
To help address the issue, GD Taxonomy's author (MillaN) added a new function in his latest release: gdtt_registered_post_types() now returns an array with names of post types registered by the plugin.
He provided me with the following, which unfortunately didn't get recognized by Subscribe2 either.
function my_post_types($types) {
$pages = gdtt_registered_post_types();
foreach((array)$pages as $name) {
$types[] = $name;
}
return $types;
}
add_filter('s2_post_types', 'my_post_types');
His last reply:
"If he suggests that something needs to be done with my plugin, let me know if I can do something about it."
If you have any suggestions, I'd really appreciate it.
Thanks,
Carlos