LD_REST_Posts_Controller_V1::rest_collection_params_filter

LD_REST_Posts_Controller_V1::rest_collection_params_filter( $query_params,  $post_type )

For LearnDash post type we override the default order/orderby to ASC/title instead of the WP default DESC/date.


Description #


Source #

File: includes/rest-api/v1/class-ld-rest-posts-controller.php