LearnDash_Gutenberg_Block::get_example_post_id( string $post_type = '' )
Get example post ID. This is used as part of WP 5.3 Gutenberg Block Example / Preview.
Description Description
Parameters Parameters
- $post_type
-
(Optional) Post Type Slug to retreive.
Default value: ''
Return Return
(integer) $post_id Post ID.
Source Source
File: includes/gutenberg/lib/class-learndash-gutenberg-block.php
Changelog Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |