Browse: Home / Classes / SFWD_CPT_Instance /

SFWD_CPT_Instance::content_filter_control

SFWD_CPT_Instance::content_filter_control( boolean $filter_check = true )

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 #

$filter_check

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

Default value: true


Source #

File: includes/class-ld-cpt-instance.php


Changelog #

Changelog
Version Description
2.5.9 Introduced.