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: ''


Top ↑

Return Return

(integer) $post_id Post ID.


Top ↑

Source Source

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


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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