block_editor_meta_box_hidden_fields

SummerySummery

Add hidden input fields to the meta box save form.

Syntax

do_action( 'block_editor_meta_box_hidden_fields', WP_Post $post )

DescriptionDescription

Hook into this action to print <input type="hidden" ... /> fields, which will be POSTed back to the server when meta boxes are saved.

ParametersParameters

$post

(WP_Post) The post that is being edited.

SourceSource

File: wp-admin/includes/post.php

ChangelogChangelog

Changelog
Version Description
5.0.0 Introduced.
Scroll to Top