Browse: Home / Hooks /

learndash_template_preprocess_filter

apply_filters( 'learndash_template_preprocess_filter',  boolean $run_filter,  int $post_id )

Filter called just before template processing. Allows late determination if LearnDash template logic should be processed.


Description #


Parameters #

$run_filter

(boolean) true.

$post_id

(int) Current Post ID.


Return #

(boolean) True to process template. Anything else to abort.


Source #

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


Changelog #

Changelog
Version Description
3.1.7 Introduced.