Browse: Home / Classes / SFWD_LMS /


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 #

This is needed for example when using the ‘the_content’ filters manually and do not want the normal filters recursively applied.

Parameters #


(boolean) (Optional) True if the_content filter is to be enabled.

Default value: true


(array) (Optional) Limit change to specific instance post types. default is all.

Default value: array()

Source #

File: includes/class-ld-lms.php

Changelog #

Version Description
2.5.9 Introduced.