Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
LLMS_Data::get_theme_data()
Get an array of theme data
Return Return
(array)
Source Source
File: includes/class.llms.data.php
private static function get_theme_data() { $data = array(); $theme_data = wp_get_theme(); $data['name'] = $theme_data->get( 'Name' ); $data['version'] = $theme_data->get( 'Version' ); $data['themeuri'] = $theme_data->get( 'ThemeURI' ); $data['authoruri'] = $theme_data->get( 'AuthorURI' ); $data['template'] = $theme_data->get( 'Template' ); $data['child_theme'] = is_child_theme() ? 'Yes' : 'No'; $data['llms_support'] = ( ! current_theme_supports( 'lifterlms' ) ) ? 'No' : 'Yes'; return $data; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.11.2 | Unknown. |
3.0.0 | Introduced. |