theme.php
Table of Contents
Functions
- buddyc_buddyboss_theme() : bool
- Check for BuddyBoss theme.
- buddyc_icon() : string
- Outputs icon html.
- buddyc_icon_class() : string
- Outputs a string of icon classes
- buddyc_is_wp_theme() : bool
- Checks whether the active theme is a Wordpress default theme.
- init_template_manager() : mixed
- Initializes TemplateManager.
Functions
buddyc_buddyboss_theme()
Check for BuddyBoss theme.
buddyc_buddyboss_theme() : bool
Tags
Return values
boolbuddyc_icon()
Outputs icon html.
buddyc_icon(string $key[, string $color = null ]) : string
Parameters
- $key : string
-
The identifying key of the icon.
- $color : string = null
-
Optional. The color of the icon. Accepts 'blue', 'black', 'green', 'red', or 'gray'.
Tags
Return values
string —The icon html.
buddyc_icon_class()
Outputs a string of icon classes
buddyc_icon_class(string $key[, string $color = null ]) : string
Parameters
- $key : string
-
The identifying key of the icon.
- $color : string = null
-
Optional. The color of the icon. Accepts 'blue', 'black', 'green', 'red', or 'gray'.
Tags
Return values
string —The string of icon classes.
buddyc_is_wp_theme()
Checks whether the active theme is a Wordpress default theme.
buddyc_is_wp_theme() : bool
Tags
Return values
bool —True if the active theme is a WP theme.
init_template_manager()
Initializes TemplateManager.
init_template_manager() : mixed