Learndash_Admin_Posts_Listing
Class LearnDash Posts Listing Abstract.
Description Description
Source Source
File: includes/admin/class-learndash-admin-posts-listing.php
Changelog Changelog
Version | Description |
---|---|
2.6.0 | Introduced. |
Methods Methods
- __construct — Public constructor for class
- ajax_listing_select2_query — Handler function for Select2 AJAX requests.
- before_delete_post — Initial hook for deleting a post.
- build_listing_select2_lib_ajax_fetch_json — Build the select2 fetch JSON data.
- build_selector_post_type_options — Build Post Type Selector query options.
- build_user_selector_options — Get User Selector query options.
- check_query_post_type_count — Gets the posts count from the `WP_Query` post_type argument.
- deleted_post — Called after the post has been deleted.
- disable_categories_dropdown — Disable the default WordPress logic to display the post type taxonomies.
- fill_selectors_values — Set the selector values from the _GET variables.
- fill_selectors_values_ajax — Fills the selector values from the AJAX request data.
- get_aria_label_for_post — Build and return Aria label for post link.
- get_clean_filter_url — Utility function to get a clean URL used for filtering.
- get_selector — Utility function to get a Selector by key.
- get_selector_by_nonce — Get the Selector via the Selector nonce.
- get_selector_empty_set — Get the Selector Empty value and label set.
- get_selector_post_type_query_results — Performs the query for the post type selector and returns the query result object.
- get_user_selector_query_results — Performs the query for the user selector and returns the query result object.
- hide_empty_taxonomy — Utility function to check if we can hide empty taxonomy selectors and columns elements.
- list_table_row_actions — Output the the table row actions output.
- listing_filter_by_course — Filter the main query listing by the course_id
- listing_filter_by_group — Filter the main query listing by the group_id
- listing_filter_by_lesson — Filter the main query listing by the lesson_id
- listing_filter_by_quiz — Filter the main query listing by the quiz_id
- listing_filter_by_taxonomy — Filter listing by Taxonomy.
- listing_filter_by_topic — Filter the main query listing by the topic_id
- listing_init — Initialize the listing.
- listing_taxonomies_init — Initialize the listing taxonomies.
- manage_column_headers — Add post type column headers.
- manage_column_rows — Output custom column row data
- manage_post_column_rows — Output custom post column row data
- manage_taxonomies_columns — Manage the Post Taxonomies Columns
- on_load_edit — Call via the WordPress load sequence for admin pages.
- on_load_listing — Call via the WordPress load sequence for admin pages.
- on_load_post — Call via the WordPress load sequence for admin pages.
- parse_query_table_filter — This function fill filter the table listing items based on filters selected.
- parse_query_table_listing — This function fill filter the table listing items based on filters selected.
- post_row_actions — Check primary course ID for the current step
- post_type_check — Common function to check if we are editing a correct post type.
- register_listing_set — Register the listing set with unique nonce key to be used during AJAX queries.
- restrict_manage_posts_action — Display options above table listing to allow filtering.
- restrict_manage_posts_selectors — Display selector filters above post table listing.
- selector_filter_for_author — Author Selector Filter.
- selector_filter_for_course — Course Selector Filter.
- selector_filter_for_group — Group Selector Filter.
- selector_filter_for_lesson — Lesson Selector Filter.
- selector_filter_for_topic — Topic Selector Filter.
- selector_filters — Call the Selector filter if set.
- selector_value_for_author — Validate the selector value for Author.
- selector_value_for_course — Validate the selector value for Course.
- selector_value_for_group — Validate the selector value for Course.
- selector_value_integer — Validate the selector value for Integer value.
- show_column_step_course — Show Course column for Step.
- show_column_step_lesson — Show Lesson column for Step.
- show_column_step_lesson_or_topic — Show Lesson or Topic column for Step.
- show_column_step_quiz — Show Quiz column for Step.
- show_column_step_topic — Show Topic column for Step.
- show_early_selector — Shows early filters above the table listing.
- show_early_selectors — Function to show early selectors.
- show_late_selectors — Function to show late selectors.
- show_nonce_field — Adds our general use nonce field form field.
- show_post_link — Utility display function to show a post title with row actions.
- show_post_type_selector — Shows post type filter above the table listing.
- show_post_type_selectors — Display post type selectors.
- show_reset_button — Function to show the reset button
- show_row_actions — Utility function to show the row actions hover links on certain rows.
- show_selector_all_option — Show the Selector All option.
- show_selector_empty_option — Show the Selector Empty option.
- show_selector_end — Show the Selector end.
- show_selector_options — Show the Selector options.
- show_selector_start — Show the Selector Start.
- show_taxonomy_selector — Shows taxonomy filter above the table listing.
- show_taxonomy_selectors — Display taxonomy selectors.
- show_user_selector — Shows post type filter above the table listing.
- show_user_selectors — Function to show User selector.