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


Top ↑

Return Return

(string) Wrapper CSS class.


Top ↑

Source Source

File: themes/ld30/includes/helpers.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.