Learndash_Admin_Post_Edit
Class LearnDash Post Edit Base.
Description #
Source #
Changelog #
Version | Description |
---|---|
2.6.0 | Introduced. |
Methods #
- __construct — Public constructor for class.
- add_dashboard_tab_in_edit_post_link — Filters the edit post link function to add the Dashboard tab when clicking on the Post title in the Post list.
- add_metaboxes — Register metaboxes for course Associated Content
- clear_request_data — Check super global 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 field 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.
- process_dashboard_tab — Processes the dashboard tab.
- redirect_post_location — Called from WP when saving a post edit form. This filter allows us to interject a 'currentTab' query string variable.
- revert_edit_post_link_in_row_actions — Reverts the edit post link in the row actions to the default one.
- save_post — Save Question handler function.