Yes they are, the first form is internally converted into the second. IMO you should not use the first form as it is a relic to the days wordpress DB structure was much simpler. Today I am not sure if you can even achieve all the things you can do with the second form by using the first.
Related Posts:
- A good strategy to print custom posts (offer) that are checked inside the metabox of a post?
- How to Upload CSV Data into Custom Post Type Data with Metabox programmatically
- Meta-Boxes for CustomPostType cause PHP Errors and Notices in “Add New” view
- Custom meta box in custom post type not working
- Problem with multi checkboxes value in metabox?
- How to change default position of WP meta boxes?
- Display a query with multiple post types and same relationship on a single page
- How to add multiple images to a custom post type single post?
- echo value from ‘select’ field type into page template using cmb2?
- Detect meta value changes when post is updated (post_updated)
- Saving multiple Metabox contents
- Using ‘strtotime’ function to convert a custom-meta-box to a date-stamp
- Custom post type loops with different page templates
- Limit Authors to their Own Posts on front-end excluding admins
- Multiple Content Block
- How to: add option to add more checkboxes on custom post type
- How do you output custom code between posts in the loop?
- Output custom post shortcode. Help spot the error.
- Loading all files within a directory
- Push metadata in array
- How to customize a permalink (URL) structure?
- Troubles with saving metabox
- Custom Post Type with Templates using Meta Boxes?
- Can I list a custom post type within another custom post type in the admin area?
- Set URL link to featured image of custom post type
- AJAX load more for different custom post type loops
- On update or create post redirect to current post position in list
- I need to add endpoint for wordpress categories
- Why are taxonomy terms not saving when using custom meta boxes with radio button taxonomy selectors?
- get_post_meta not working on publishing
- Redirect 404 page with ID in slug to associated page with same ID in slug
- WordPress wrapped added a span tag to every single p tag
- Anon function and add_meta_box
- Hide a widget inside a div on specific type of post
- Cannot save CPT meta box
- Trying to retrieve post meta
- How can I move (or create another) publish button?
- Different Category system needed for the Custom Post Type
- Redirect to another page using contact form 7? [closed]
- Warning: Invalid argument supplied for foreach() [closed]
- Custom post type isn’t working
- Add additional field to custom post_type
- categories should be available across all custom post types
- Warning: Invalid argument supplied for foreach() in post.php [closed]
- custom post type metaboxes not saving
- custom post for slider
- Assign category a default post type
- How to use a variable as a function name?
- How exclude or skip post type with get_next_post_link
- Create short URL with auto 301 redirect
- Removing full title and breadcrumb header container for a specific post type
- Is it possible to use array_walk() to append terms to an array of posts?
- How to Use Custom Meta Field Instead of CPT Title in Post URL
- Custom Ratings for Theme, Proper way to Refactor Code and Clean up Template File
- post_content is stripping HTML when adding a new post? [closed]
- Using Wp_Query, Json to add Highcharts series data
- Template code to split a post and print a custom field?
- Meta box not appearing in my custom post type
- Let users upload image(s) to the post from front end
- Foreach loop returning more than one item when querying taxonomy
- Function to erase every post from a taxonomy
- Post type Echo code is repeating on homepage
- redirect after submiting post for review
- What is the best way to set the post category (Custom Post Type) automatically based on the one of the tags assigned to the post?
- php dynamic content inside shortcode
- update custom taxonomy custom fields
- Title and URL Error in Breadcrumb Navigation for Custom Post Types
- Check that a slug is present in the get_terms request
- I’m having trouble with Related Product “tax_query” ‘terms’ value
- Assigning categories to custom post types via a front-end form; only works for native post type
- Visualize info in just custom post_type in theme
- cpt not display inside nav menu
- Custom Post Type has wrong label and is not found when called by a loop
- Persist meta box choices throughout all posts of same post type
- Get meta values from parent post and save in child post
- Change Search display for Custom Post Type
- Create dynamic logo carousel without using any plugin
- Having issue on Loading Meta Data From CSV to CPT
- Stored meta from attachment, video length?
- Duplicate posts in my custom loop
- Meta box not saving
- Getting a 404 on single custom post type page when using rewrite on a custom taxonomy
- Featured image in custom post is being disabled
- can’t see categories in appearance-menu-categories
- Loop carousel slider in wordpress
- Meta Box not being added in plugin
- Not Able to Display Metabox Saved Checkbox and Selected option After Save/ Update
- Function not pulling image or text from custom post type
- Meta-Box to add multiple items one at a time and on publish save all
- Custom Loop for custom post type. Compare by meta_value?
- Post AND page parameter for WP function
- Add HTML before a specific div?
- How to manage wordpress knowledge base/wiki/posts collections
- How to string lines from the_content() hook in WordPress?
- Passing postid of Testimonial Custom Post in Shortcode Parameter
- How to I add count of custom posts listed in a post as a prefix to its title
- how to display custom taxonomies in front page
- add_rewrite_rule not working with custom post type
- How do loop categories post from according in WordPress? is it impossible to solve this problem?
- Just the First Metabox what saves the data!