Browse: Home / Hooks /


apply_filters( 'learndash_content',  string $content,  object $post )

Filter content to be return inside div

Description #

Parameters #


(string) Post Content.


(object) WP_Post Post Object.

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_content filter.
	function( $content ) {
		// May add any custom logic using $content.

		// Always return $content.
		return $content;

Changelog #

Version Description
2.1.0 Introduced.