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.
Description Description
This is needed for example when using the ‘the_content’ filters manually and do not want the normal filters recursively applied.
Parameters Parameters
- $filter_check
-
(Optional) True if the_content filter is to be enabled.
Default value: true
- $post_types
-
(Optional) Limit change to specific instance post types. default is all.
Default value: array()
Source Source
File: includes/class-ld-lms.php
Changelog Changelog
Version | Description |
---|---|
2.5.9 | Introduced. |