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
- Custom post status not working
- How to add multiple images to a custom post type single post?
- echo value from ‘select’ field type into page template using cmb2?
- Find callback function for custom taxonomy metabox
- Date archives for custom post type
- How can I add dropdown widget/box to admin post page?
- 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
- How to save the checked boxes?
- Custom post type loops with different page templates
- Limit Authors to their Own Posts on front-end excluding admins
- Multiple Content Block
- Append taxonomy terms as class names in markup?
- How to: add option to add more checkboxes on custom post type
- How do you output custom code between posts in the loop?
- Using WPAlchemy metabox values in another metabox
- Loop through posts of a custom-post-type (event) and create .ics (iCal) file?
- Output custom post shortcode. Help spot the error.
- GravityForm: Populate Dropdown with custom post type [closed]
- 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?
- Query & Order posts by custom fields
- 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
- ACF field key/value to show on taxonomy list
- Anon function and add_meta_box
- Hide a widget inside a div on specific type of post
- Cannot save CPT meta box
- Configuring a meta query with multiple post types that have the same relationship on a single page
- Trying to retrieve post meta
- How can I move (or create another) publish button?
- 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?
- Having Issue on Getting Metabox Checkbox Value
- 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
- Front end create custom post types
- 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?
- How to get the custom post data using post id in WordPress?
- set object terms after some some time of published post – functions.php
- 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
- Pagination not working in custom post type. Help
- How to add specific terms in a custom post type?
- Assigning categories to custom post types via a front-end form; only works for native post type
- Limit custom post type to the authors only on front-end!
- programmatically generated custom post type is created more than once
- Visualize info in just custom post_type in theme
- cpt not display inside nav menu
- How to use posts as tabs in a custom page?
- Custom Post Type has wrong label and is not found when called by a loop
- Create posts inside CPT post
- Persist meta box choices throughout all posts of same post type
- ACF field check value of field on all other articles
- 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
- How To Display Category list from Portfolio post type plugin?
- Featured image in custom post is being disabled
- Create 2-layered dropdown menus for custom taxonomy and custom post type
- can’t see categories in appearance-menu-categories
- Loop carousel slider in wordpress
- Meta Box not being added in plugin
- Search form to find custom meta box generated data
- Query custom post type and showing its content
- 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?