Browse: Home / Classes / LearnDash_Gutenberg_Block /

LearnDash_Gutenberg_Block::block_attributes_get_user_id

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

Utility function to determine the User ID from the block attributes.


Description #


Parameters #

$block_attributes

(array) (Optional) The block attrbutes.

Default value: array()


Return #

(int) User ID.


Source #

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


Changelog #

Changelog
Version Description
4.0.0 Introduced.