W3cubDocs

/WordPress

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

File: wp-admin/includes/post.php

View on Trac

Changelog

Version Description
5.0.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/block_editor_meta_box_hidden_fields