Browse: Home / Hooks /


apply_filters( 'learndash_remove_template_content_filter',  bool $remove_template_content_filter )

Remove the hook into the WP ‘the_content’ filter once we are in our handler. This will allow other templates to call the ‘the_content’ filter without causing recursion.

Description #

Parameters #


(bool) True to remove the filter. Default false.

Source #

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

Examples #

Note: Extended code example below not guaranteed, you may need to consult with a developer

 * Example usage for learndash_remove_template_content_filter filter.
	function( $remove_filter ) {
		// May add any custom logic using $remove_filter.

		// Always return $remove_filter.
		return $remove_filter;

Changelog #

Version Description
3.1.0 Introduced.