Un motore di ricerca WordPress per sviluppatori e autori di temi



use_block_editor_for_post ›

Da5.0.0
Deprecaton/a
apply_filters( 'use_block_editor_for_post', $use_block_editor, $post )
Parametri: (2)
  • (bool) $use_block_editor Whether the post can be edited or not.
    Richiesto:
  • (WP_Post) $post The post being checked.
    Richiesto:
Definito a:
Codex:

Filter whether a post is able to be edited in the block editor.





Sorgenti

return apply_filters( 'use_block_editor_for_post', $use_block_editor, $post );