do_action( 'block_editor_meta_box_hidden_fields', WP_Post $post )
Add hidden input fields to the meta box save form.
Description
Hook into this action to print <input type="hidden" ... />
fields, which will be POSTed back to the server when meta boxes are saved.
Parameters
- $post
-
(WP_Post) The post that is being edited.
Source
Changelog
Version | Description |
---|---|
5.0.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/block_editor_meta_box_hidden_fields