Browse: Home / Hooks /


apply_filters( 'learndash_remove_template_content_filter',  boolean  )

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 recusion.

Description #

Parameters #

(boolean) true Default true to remove the filter. Return false to not remove.

Source #

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

Examples #

 * 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.