block_editor_meta_box_hidden_fields

Advertisement

Summery Summery

Add hidden input fields to the meta box save form.

Syntax Syntax

do_action( 'block_editor_meta_box_hidden_fields', WP_Post $post )

Description 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 Parameters

$post

The post that is being edited.

Source Source

File: wp-admin/includes/post.php

Advertisement

Changelog Changelog

Changelog
Version Description
5.0.0 Introduced.

Advertisement

Leave a Reply