I created a custom post type called products
without support for thumbnails because I want to add the support for post-thumbnails in functions.php file.
So I use after_setup_theme action hook and use this code:
add_theme_support( 'post-thumbnails', array( 'products ) );
as explained at this link: http://codex.wordpress.org/Function_Reference/add_theme_support#Post_Thumbnails
But I can't find the Featured image box when i create/update product type posts.
I looked up in add_theme_support
function in theme.php file but I can' fine any reference to post-thumbnails.
Which is the best way to add support and why I can't find any reference to post-thumbnails
in add_theme_support
function?