Browse: Home / Classes / Learndash_Admin_Post_Edit /

Learndash_Admin_Post_Edit::post_clear_oembed_cache

Learndash_Admin_Post_Edit::post_clear_oembed_cache( integer $post_id )

Clear the Post oEmbed cache.


Description #

This is mostly needed for Lessons and Topics when using the Video Progression logic. But we are supporting this on all LD post types.


Parameters #

$post_id

(integer) (Required) ID of Post to clear cache for.


Source #

File: includes/admin/class-learndash-admin-posts-edit.php


Changelog #

Changelog
Version Description
3.1.4 Introduced.