learndash_get_wrapper_class( int|WP_Post $post = null )
Gets the Learndash content wrapper CSS class.
Description Description
Filterable function to add a class to all LearnDash content, allows conditional adding of additional classes
Parameters Parameters
- $post
-
(Optional)
WP_Post
object or post ID. Default to global $post.Default value: null
Return Return
(string) Wrapper CSS class.
Source Source
File: themes/ld30/includes/helpers.php
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |