wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



block_editor_meta_box_hidden_fields › Hooks de Ações WordPress

Desde5.0.0
Obsoleton/a
do_action( 'block_editor_meta_box_hidden_fields', $post )
Parâmetros:
  • (WP_Post) $post The post that is being edited.
    Required: Yes
Definido em:
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.





Fonte

do_action( 'block_editor_meta_box_hidden_fields', $post );