Browse: Home / Classes / LearnDash_Gutenberg_Block /

LearnDash_Gutenberg_Block::block_attributes_get_editing_post_data

LearnDash_Gutenberg_Block::block_attributes_get_editing_post_data( array $block_attributes = array(),  string $return_key = '' )

Utility function to determine the Edit Post Data.


Description #


Parameters #

$block_attributes

(array) (Optional) The block attributes.

Default value: array()

$return_key

(string) (Optional) The post data key value to return.

Default value: ''


Return #

(array) Preview Post Data.


Source #

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


Changelog #

Changelog
Version Description
4.0.0 Introduced.