Browse: Home / Hooks /

learndash_course_grid_template_post_shortcode_attributes

apply_filters( 'learndash_course_grid_template_post_shortcode_attributes',  array<string, ,  WP_Post $post )

Filters the shortcode attributes to use for the course grid card template.


Description #

Some arguments are set at at the shortcode-level, but may be desirable to modify at the card-level.


Parameters #

(<span class="arrayarray<string,) mixed> $post_atts The post attributes.

$post

(WP_Post) The post object.


Return #

(array<string,) mixed> Modified shortcode attributes.


Source #

File: includes/course-grid/includes/functions.php


Changelog #

Changelog
Version Description
4.22.0 Introduced.