most likely you should not. (ok, “don’t have to” is a better phrasing)
nonce in meta box do not add any security as the whole submittion of the form happens only after the form’s nonce is verified.
You might need some hidden input to be able to detect when the save
filter is called from the post edit form and when it is called from the bulk edit or from an api. For this you can use a nonce field, but any othe hidden field will do as well.
Related Posts:
- Nonces can be reused multiple times? Bug / Security issue?
- What is nonce and how to use it with Ajax in WordPress? [duplicate]
- Nonce in settings API with tabbed navigation
- WordPress REST API call generates nonce twice on every call
- Confusion on WP Nonce usage in my Plugin
- WordPress password reset – why post rp_key?
- Verify Nonce returns false – Request Nonce returns correct value
- Maximum lifetime for nonce
- Passing nonce at admin menu link
- Is nonce in PHP form and Ajax both necessary?
- Custom login doesn’t work properly
- wp_nonce_field displaying twice
- The Correct Way to Use Nonce Field without Settings API
- Where to use nonce
- WP_List_Table Inside Metabox With Bulk Actions Not Working on Submit
- Saving metabox updates causing fatal error
- How to override existing plugin action with new action
- Add custom TinyMCE 4 Button, Usable since WordPress 3.9-beta1
- How to store username and password to API in wordpress option DB?
- Which hook should be used to add an action containing a redirect?
- Is it worth checking if class_exists when developing a plugin and how to do it?
- the_content after all shortcodes are parsed
- How do I resolve Notice: Undefined offset: 0 in /wp-includes/capabilities.php on line 1145
- Category listing with thumbnail and description on home page
- How can the tinyMCE dom be manipulated (offical API does not seem to work)?
- Pass javascript result to shortcode executer function
- URLs of plugin resources?
- anything like add_meta_box for categories?
- Can we create a category list page in WordPress?
- How to include class from addon after to be sure one class exists in the main plugin?
- Developing a plug-in to charge for
- WordPress: After Gutenberg plugin migration to block.json the localization/ translations with PolyGlot in JavaScript does not work anymore
- What is the Difference between directly call a function and call a function using add_action?
- What is better way to use Bootstrap inside admin panel?
- Undefined function wp_set_password
- Updating my plugin without releasing a new version
- Is it possible to check is loaded language files correctly with WordPress plugin?
- Default category got deleted. How to get it back as ID=1?
- How to determine, from plugin script, if active theme has The Post Title
- What allows a template file from plugin to be copied in child theme and overridden?
- add_filter : Passing an array instead of the callback function?
- creating custom archive template within plugin for custom post type using archive_template filter
- Advice on plugin structure
- Using wp_parse_args to set up Plugin Default Settings
- how to add Jquery script to one page?
- Problem with parameters in url and pagination
- get_posts() not working when accessing with a custom user role
- Trying to understand order and frequency of action hooks firing
- Where can i find wordpress auto update code flows?
- Create & Save multiple Meta-boxes
- Are there any scripts, classes, and/or functions built-in to WP for a plugin to export/import its saved data from wp_options?
- Can’t get woocommerce_get_price_html to work [closed]
- jQuery selectors for editor elements safe to use?
- wp_set_object_terms not updating database without a die()
- WordPress form action – doesn’t work
- How to fetch only current hour posts?
- Plugin sub-menu pages recommended structure and links
- template_redirect or admin-ajax.php?
- how to get all the child category name in a specified category name?
- Widget HTML Display Problem
- Can I add custom css to an mu-plugin?
- Change WooCommerce Email Header using custom plugin
- How to get the current page Title and Page URL in footer.php
- my own SVN for a plugin/theme
- How to add search form in main page body?
- Activate theme via plugin script?
- How can I add function calls to my plugin’s options.php default submit routine?
- Need help about understand api, wp, $ syntax in WordPress plugin script
- Should I use wp-content/cache or [PLUGIN_DIR]/cache?
- configuration of .htaccess for add_rewrite_rule to make sense
- Restrict certain actions to plugin-specific admin menu pages only
- How to get post meta in functions?
- Adding tables to dashboard pages programmatically?
- Plugin access to average users not only admin
- how to add custom fields into new & update post page?
- Custom Endpoint – Does it possible to use PUT method with WP API Rest?
- List all user post API endpoint
- Condition to check previous next article post title
- How to display plugin with javascript using markup of the theme?
- Can display plugin without shortcode?
- How to prevent wp_insert_post from creating a new post every second?
- Hook for validating and rejecting frontend image upload
- Plugin removes itself if mistake made during edit
- Multisite and the JSON REST API: How to?
- Can’t create a blank template
- Looping single post in a theme
- WP Ajax on page load not working on bluehost but was working on Godaddy
- Is there a way to tell if a shorcode’s handler is being run before or after the content formatting filter?
- How to create an embedded code for wordpress shortcode?
- How can I send an id over the url?
- grouping my widgets wordpress
- Creating custom Insert Media page
- Get fields of a widget
- Initialize class inside plugin
- “Print to printer” functionality in a plugin
- How do you filter get_media_items by mime type in a custom media upload tab?
- Which subset of html does WordPress support?
- How to set init for maximum script execution, memory limit and max files upload in wordpress
- Trying to build a plugin – Cannot modify header information
- Programmatically creating posts based on external JSON feed (asynchronously)