wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



block_editor_meta_box_hidden_fields › WordPress Action Hooks

Seit5.0.0
Veraltetn/v
do_action( 'block_editor_meta_box_hidden_fields', $post )
Parameter:
  • (WP_Post) $post The post that is being edited.
    Erforderlich: Ja
Definiert in:
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.





Quellcode

do_action( 'block_editor_meta_box_hidden_fields', $post );