• LifterLMS
  • Knowledge Base
  • Academy
  • Blog
  • Podcast
  • Contributors
  • My Account

LifterLMS LifterLMS

  • Code Reference
  • REST API
  • LLMS-CLI

Code Reference

Skip to content
Filter by type:
Search
Browse: Home / Code Reference / libraries/lifterlms-rest/includes/abstracts/class-llms-rest-posts-controller.php

LLMS_REST_Posts_Controller::sanitize_post_statuses()

Method: Sanitizes and validates the list of post statuses, including whether the user can query private statuses

Source: libraries/lifterlms-rest/includes/abstracts/class-llms-rest-posts-controller.php:1801

Used by 0 functions | Uses 1 function

LLMS_REST_Posts_Controller::get_collection_params()

Method: Retrieves the query params for the objects collection

Source: libraries/lifterlms-rest/includes/abstracts/class-llms-rest-posts-controller.php:370

Used by 3 functions | Uses 2 functions

LLMS_REST_Posts_Controller::map_params_to_query_args()

Method: Map schema to query arguments to retrieve a collection of objects.

Source: libraries/lifterlms-rest/includes/abstracts/class-llms-rest-posts-controller.php:436

Used by 0 functions | Uses 0 functions

llms_rest_{$this->post_type}_filters_removed_for_response

Filter Hook: Modify the array of filters to be removed before building the response.

Source: libraries/lifterlms-rest/includes/abstracts/class-llms-rest-posts-controller.php:1485

Used by 1 function | Uses 0 functions

LLMS_REST_Posts_Controller::llms_post_class_from_post_type()

Method: Get the llms post model class from the controller post type.

Source: libraries/lifterlms-rest/includes/abstracts/class-llms-rest-posts-controller.php:1767

Used by 2 functions | Uses 0 functions

LLMS_REST_Posts_Controller::get_object()

Method: Get object.

Source: libraries/lifterlms-rest/includes/abstracts/class-llms-rest-posts-controller.php:1295

Used by 6 functions | Uses 3 functions

LLMS_REST_Posts_Controller::prepare_collection_items_for_response()

Method: Prepare collection items for response.

Source: libraries/lifterlms-rest/includes/abstracts/class-llms-rest-posts-controller.php:793

Used by 0 functions | Uses 1 function

llms_rest_insert_{$this->post_type}

Action Hook: Fires after a single llms post is created or updated via the REST API.

Source: libraries/lifterlms-rest/includes/abstracts/class-llms-rest-posts-controller.php:560

Used by 2 functions | Uses 0 functions

llms_rest_after_insert_{$this->post_type}

Action Hook: Fires after a single llms post is completely created or updated via the REST API.

Source: libraries/lifterlms-rest/includes/abstracts/class-llms-rest-posts-controller.php:599

Used by 2 functions | Uses 0 functions

LLMS_REST_Posts_Controller::prepare_collection_query_args()

Method: Format query arguments to retrieve a collection of objects.

Source: libraries/lifterlms-rest/includes/abstracts/class-llms-rest-posts-controller.php:409

Used by 3 functions | Uses 2 functions
1 2 … 5 Next »
© 2014 - 2023 LifterLMS · Privacy Policy · Terms and Conditions