LearnDash_Gutenberg_Block::render_block( array $attributes = array() )

Render Block


Description Description

This function is called per the register_block_type() function above. This function will output the block rendered content. This is called from within the admin edit post type page via an AJAX-type call to the server.

Each sub-subclassed instance should provide its own version of this function.


Parameters Parameters

$attributes

(Optional) Shortcode attrbutes.

Default value: array()


Top ↑

Return Return

(void) The output is echoed.


Top ↑

Source Source

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


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.5.9 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.