apply_filters( 'learndash_course_grid_post_extra_course_grids', array[] $extra_course_grids, LearnDashCourse_GridWP_Post|null $post )
Filters the course grid data to add additional course grids from external sources.
Description #
This filter allows plugins or themes to add their own course grid configurations that should be considered when loading assets.
Parameters #
- $extra_course_grids
-
(array[]) Array of additional course grid configurations.
- $post
-
(LearnDashCourse_GridWP_Post|null) The current post object or null.
Return #
(array[]) Array of additional course grid configurations to be merged with existing ones.
Source #
Changelog #
Version | Description |
---|---|
4.21.4 | Introduced. |