I have a content type whose human readable name is Post your blog. How can I get the content type machine name by the human readable name?
Is there a function in Drupal 7, or do I have to query the node_type table to get what I want?
Look at node_type_get_types for D7 and simply
foreach looking for
Post your blog.