apply_filters( "llms_rest_{$this->post_type}_filters_removed_for_response", array $filters, LLMS_Post_Model $object )

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


Description Description

The dynamic portion of the hook name, $this->post_type, refers to the post type slug.


Top ↑

Parameters Parameters

$filters

(array) Array of filters to be removed.

$object

(LLMS_Post_Model) LLMS_Post_Model object.


Top ↑

Source Source

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

View on GitHub



Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0-beta.9 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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