Theme_Betheme extends Theme_Integration

BeTheme integration.

Table of Contents

$template  : string
The name of the current template.
enqueue_dummy_handle()  : void
Enqueue dummt handle.
enqueue_fix()  : void
Theme-specific inline css styling.
get_dummy_handle()  : string
Generate an handle name for the dummy stylesheet to which we'll attach the custom inline styling.
register()  : void
Register the service.
should_enqueue()  : bool
Determine if the inline styling should enqueue or not.
theme_inline_styling()  : void
Load the inline styling when needed.

Properties

$template

The name of the current template.

public string $template = 'betheme'

Use wp_get_theme to get it.

Methods

enqueue_dummy_handle()

Enqueue dummt handle.

public enqueue_dummy_handle() : void
Return values
void

enqueue_fix()

Theme-specific inline css styling.

public enqueue_fix() : void
Tags
inheritdoc
Return values
void

get_dummy_handle()

Generate an handle name for the dummy stylesheet to which we'll attach the custom inline styling.

public get_dummy_handle() : string
Return values
string

register()

Register the service.

public register() : void
Return values
void

should_enqueue()

Determine if the inline styling should enqueue or not.

public should_enqueue() : bool

Usually you check that the specific theme is enabled here.

Return values
bool

theme_inline_styling()

Load the inline styling when needed.

public theme_inline_styling() : void
Return values
void

Search results