Tag Archives: codex

add_post_type_support

Register support of certain features for a post type.All features are directly associated with a functional area of the edit screen, such as the editor or a meta box: ‘title’, ‘editor’, ‘comments’, ‘revisions’, ‘trackbacks’, ‘author’, ‘excerpt’, ‘page-attributes’, ‘thumbnail’, and ‘custom-fields’.

285

Continue reading

add_option

Add a new option.You do not need to serialize values. If the value needs to be serialized, then it will be serialized before it is inserted into the database. Remember, resources can not be serialized or added as an option.

265

Continue reading