This code adds a custom post type called ‘Best Selling Products’ to a WordPress site. It also adds associated labels, sets the post type to public, enables an archive, and adds support for author, title, editing, excerpt, thumbnail, comments, revisions and custom fields.
Was this code snippet helpful?
YesNo