LLMS_REST_Posts_Controller::get_filters_to_be_removed_for_response( LLMS_Post_Model $object )

Get action/filters to be removed before preparing the item for response.


Parameters Parameters

$object

(LLMS_Post_Model) (Required) LLMS_Post_Model object.


Top ↑

Return Return

(array) Array of action/filters to be removed for response.


Top ↑

Source Source

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

					add_filter(
						$hook,
						$filter_data['callback'],
						$filter_data['priority'],
						isset( $filter_data['accepted_args'] ) ? $filter_data['accepted_args'] : 1
					);
				}
			}
		}
	}

	/**
	 * Get action/filters to be removed before preparing the item for response.
	 *
	 * @since 1.0.0-beta.1


Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0-beta.9 Removed "llms_rest_{$this->post_type}_filters_removed_for_reponse" filter hooks, "llms_rest_{$this->post_type}_filters_removed_for_response" added.
1.0.0-beta.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.