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?
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.Sign up to join this community
Look at node_type_get_types for D7 and simply
foreach looking for
Post your blog.