Browse: Home / Classes / LearnDash_Gutenberg_Block /

LearnDash_Gutenberg_Block::block_attributes_get_editing_post_type

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

Utility function to determine the Edit Post Type.


Description #


Parameters #

$block_attributes

(array) (Optional) The block attributes.

Default value: array()


Return #

(string) Preview Post Type.


Source #

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


Changelog #

Changelog
Version Description
4.0.0 Introduced.