Un motore di ricerca WordPress per sviluppatori e autori di temi



use_block_editor_for_post_type ›

Da5.0.0
Deprecaton/a
apply_filters( 'use_block_editor_for_post_type', true, $post_type )
Parametri: (2)
  • (bool) $use_block_editor Whether the post type can be edited or not. Default true.
    Richiesto:
  • (string) $post_type The post type 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_type', true, $post_type );