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 Description
Parameters Parameters
- $run_filter
-
true.
- $post_id
-
Current Post ID.
Return Return
(boolean) True to process template. Anything else to abort.
Source Source
File: includes/class-ld-cpt-instance.php
Changelog Changelog
Version | Description |
---|---|
3.1.7 | Introduced. |