BuddyClients Docs

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
since
0.1.0
Return values
bool

buddyc_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
since
1.0.20
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
since
1.0.25
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
since
1.0.21
Return values
bool

True if the active theme is a WP theme.

init_template_manager()

Initializes TemplateManager.

init_template_manager() : mixed
Tags
since
1.0.21

        
On this page

Search results