Browse: Home / Classes / LearnDash_Gutenberg_Block /

LearnDash_Gutenberg_Block::block_attributes_is_editing_post

LearnDash_Gutenberg_Block::block_attributes_is_editing_post( array $block_attributes = array() )

Utility function to check if we are editing a post.


Description #


Parameters #

$block_attributes

(array) (Optional) The block attributes.

Default value: array()


Return #

(boolean) true if we are editing a post.


Source #

File: includes/gutenberg/lib/class-learndash-gutenberg-block.php


Changelog #

Changelog
Version Description
4.0.0 Introduced.