Learndash_Admin_Post_Edit
Class LearnDash Post Edit Base.
Description Description
Source Source
File: includes/admin/class-learndash-admin-posts-edit.php
Changelog Changelog
Version | Description |
---|---|
2.6.0 | Introduced. |
Methods Methods
- __construct — Public constructor for class.
- add_metaboxes — Register metaboxes for course Associated Content
- clear_request_data — Check superglobal data.
- edit_form_top — Called from WP at the start of the post edit tag. Allows us to inject needed support fields.
- edit_post_post_type — Edit Post handler function.
- filter_post_parent — Filter post_parent before update/insert. Ensure the post_parent fiel is zero for course post types.
- gutenberg_placeholder_enter_title_here — Override Gutenberg placeholder title shown when adding new post.
- gutenberg_placeholder_write_your_story — Override Gutenberg placeholder text shown when adding new post.
- on_load — On Load handler function for this post type edit.
- post_clear_oembed_cache — Clear the Post oEmbed cache.
- post_type_check — Common function to check if we are editing a correct post type.
- redirect_post_location — Called from WP when saving a post edit form. This filter allows us to interject a 'currentTab' query string variable.
- save_post — Save Question handler function.