SFWD_LMS::content_filter_control( boolean $filter_check = true, array $post_types = array() )
Function to dynamically control the ‘the_content’ filtering for this post_type instance.
Contents
Description #
This is needed for example when using the ‘the_content’ filters manually and do not want the normal filters recursively applied.
Parameters #
- $filter_check
-
(boolean) (Optional) True if the_content filter is to be enabled.
Default value: true
- $post_types
-
(array) (Optional) Limit change to specific instance post types. default is all.
Default value: array()
Source #
Changelog #
Version | Description |
---|---|
2.5.9 | Introduced. |