wpseek.com
A WordPress-centric search engine for devs and theme authors



block_editor_meta_box_hidden_fields › WordPress Action Hooks

Since5.0.0
Deprecatedn/a
do_action( 'block_editor_meta_box_hidden_fields', $post )
Parameters:
  • (WP_Post) $post The post that is being edited.
    Required: Yes
Defined at:
Codex:

Adds hidden input fields to the meta box save form.

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





Source

do_action( 'block_editor_meta_box_hidden_fields', $post );