LLMS_REST_Posts_Controller::maybe_remove_filters_for_response( LLMS_Post_Model $object )
Re-add filters previously removed
Parameters Parameters
- $object
-
(LLMS_Post_Model) (Required) Object.
Return Return
(array) Array of filters removed for response.
Source Source
File: libraries/lifterlms-rest/includes/abstracts/class-llms-rest-posts-controller.php
); $links['https://api.w.org/term'][] = array( 'href' => $terms_url, 'taxonomy' => $tax, ); } } return $links; } /** * Re-add filters previously removed * * @since 1.0.0-beta.1 * * @param LLMS_Post_Model $object Object. * @return array Array of filters removed for response. */ protected function maybe_remove_filters_for_response( $object ) { $filters_to_be_removed = $this->get_filters_to_be_removed_for_response( $object );
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.0.0-beta.1 | Introduced. |