wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



block_editor_meta_box_hidden_fields › Działania WordPress Hooks

Od5.0.0
Przestarzałyn/a
do_action( 'block_editor_meta_box_hidden_fields', $post )
Parametry:
  • (WP_Post) $post The post that is being edited.
    Wymagane: Tak
Zdefiniowane na:
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.





Źródło

do_action( 'block_editor_meta_box_hidden_fields', $post );