So apparently I’m a bonehead. I was originally building this with Advanced Custom Fields plugin and doing it in the theme but decided to try and build my first plugin instead. I had created a custom field group and assigned it to the post type with ACF, so that’s what was triggering the validation error. Once I deleted the field group everything works as expected.
Related Posts:
- Preferred way to include Advanced Custom Fields in a plugin?
- Elementor custom Query with ACF fields to show matching woocommerce products custom fields
- How to Bind one post object Type with other postobject Type in Advanced Custom field [closed]
- How do I validate extra pin field on my WordPress login form page?
- How to call function from another plugin?
- Attaching Image-file to userId
- ACF Field value in wordpress login message filter
- using wordpress acf shortcods in tables goes outside the table
- User avatar-ACF fields
- Load images from CDN and custom features to “Add Media” dialogue
- Autoloading & Namespaces in WordPress Plugins & Themes: Can it Work?
- How can I add an image upload field directly to a custom write panel?
- Looking for WordPress System Diagrams
- How to output message during plugin activation
- On the WordPress Admin section how do I link to submenu pages created for a plugin?
- How to return only certain fields using get_posts()
- How to provide translations for a WordPress TinyMCE plugin?
- Where do I start from
- Where is it better to start learning how to develop for WordPress?
- Check the Version of an Enqueue’d External Library
- Is there any way to test if a function running only on plugin update is successfully running?
- Using wp_cron with custom time interval and the register activation hook
- Throw 403 in a plugin [duplicate]
- Change of query var in pre_get_posts not maintained
- Hook for post permalink update
- Menu Error in Admin Console with Custom Plugin: You do not have sufficient permissions to access this page
- How to Parse an Array of Elements in Gutenberg Block
- Load page template with custom content using a plugin
- How to put placeholder text in the main post input area?
- Custom rewrite rule serves content, but returns 404 error code
- Will changing the ‘Plugin Name’ header in the next update of a plugin break anything?
- Performance of several get_option() calls
- How to edit mySQL wp_posts table from plugin php?
- Creating a Wordpess Plugin that writes data to a csv file. The data doesn’t show in the csv file?
- how to redirect to another post without getting headers already sent error?
- Problem with is_active_sidebar?
- Prevent Plugin from loading on ‘wp-admin / wp-login’
- Redirect user to a particular link in 10 seconds after using wp_die
- Getting admin notices working for plugin errors
- Change template dynamically
- override pluggable.php functions
- An echo line in a transition_post_status action leads to “cannot modify header information – headers already sent by”
- “Plugin could not be activated because it triggered a fatal error.”
- Programmatically detect if wp-cron is disabled?
- Add column in WP user but it goes wrong
- How to remove the current post from the query?
- Passing nonce at admin menu link
- Is file_get_contents() the only way for plugins reading local files OR does WP_Filesystem_Direct::get_contents() even work?
- how to get up row in wordpress with wpdb
- Preview plugin store details
- Prevent third party plugin’s admin page access based on user type
- Get attachments from a post
- How to remove default style of header in wordpress metabox
- TEMPLATEPATH without the theme name? No THEMEPATH constant?
- wp_update_post deletes post meta in CPT
- Update Data parameter of a wp_localize_script() call
- flush rewrite rules after plugin update?
- Download button in a plugin’s settings page
- hook filter after the_content on a specific page
- The Correct Way to Use Nonce Field without Settings API
- Run command “composer install” when activating wordpress plugin
- Data not insert and update through ajax and jQuery in admin page?
- Full documentation about $args for register_rest_route?
- WP Plugin with Upgrade option
- OOP plugin not working
- Plugin settings are saving but the fields
- WordPress dynamic widget by location?
- Bootstrap Error in WordPress plugin
- JQuery Slider – Similar to www.internetmarketinginc.com [closed]
- wp_enqueue_scripts in a plugin’s class
- Proper way to create an administration page without adding it to the menu
- Development plugin to view and manage scheduled wordpress cron jobs?
- Add user managable titles to custom menus?
- Custom Icon for Plugin
- WP_Query order posts by category
- How to override supports of innerBlocks?
- Implications of creating a plugin that adds functionality to other developer’s plugin?
- why is update_user_meta creating arrays when trying to change the same value?
- How to avoid conflict if a plugin already have included open library?
- WordPress OOP get current user question?
- Including content into an add_shortcode() function
- How to integrate plugins into block editor
- Override WooCommerce files from plugin
- Add WordPress Meta Box saved form input to WordPress RSS feed [duplicate]
- Add Custom Field to Post Pages via Plugin
- One-way DB Migration Workflow
- Which filter to use to pre-parse form elements, which are generated by plugin’s shortcode?
- How to Disable Content Warning Dialog for Logged in users
- What should I use instead of get_blog_option?
- How to filter get_adjacent_post()?
- post_results filter confused by pagination in sidebar and main section
- Children Shortcodes?
- How to load another page file of my custom plugin file
- Ajax functions – no access to wp-admin.php only online
- dbDelta not doing what it says
- Custom options page for themes
- I want to encrypt my WordPress plugin
- How can I make my website with wordpress having on-spot editing feature as compared to concrete5 CMS?
- The plugin generated 3265 characters of unexpected output
- Send retrieve password notification email with custom HTML email template