LearnDash_Gutenberg_Block::block_attributes_is_editing_post()
Method: Utility function to check if we are editing a post.
@package: LearnDash
Source Files: includes/gutenberg/lib/class-learndash-gutenberg-block.php
Method: Utility function to check if we are editing a post.
Method: Utility function to determine the Post ID from the block attributes.
Method: Utility function to determine the User ID from the block attributes.
Method: Utility function to determine the Edit Post Type.
Method: Utility function to determine the Edit Post ID.
Method: Utility function to determine the Edit Course Post ID.
Method: Utility function to determine the Edit Post Data.
Method: Build the block shortcode from attributes string.
Method: Pre-Process the block attributes before render.
Method: Get example user ID. This is used as part of WP 5.3 Gutenberg Block Example / Preview.
Filter Hook: Filters gutenberg block example ID.
Method: Get example post ID. This is used as part of WP 5.3 Gutenberg Block Example / Preview.
Class: Abstract Parent class to hold common functions used by specific LearnDash Blocks.
Method: Constructor.
Method: Initialize the hooks.
Method: Register Block for Gutenberg
Method: Hook into ‘the_content’ WP filter and parse out our block. We want to convert the Gutenberg Block notation to a normal LD shortcode.
Method: Render Block
Method: Add wrapper content around content to be returned to server.
Method: Utility function to parse the WP Block content looking for specific token patterns.