helpers.php
Table of Contents
- brisko_customize_partial_copyright() : void
- Render the site title for the selective refresh partial.
- brisko_customize_partial_poweredby() : void
- Render Selective refresh partial.
- brisko_footer_padding_partial() : void
- Render Selective refresh partial.
- brisko_customize_partial_blogname() : void
- Render the site title for the selective refresh partial.
- brisko_customize_partial_blogdescription() : void
- Render the site tagline for the selective refresh partial.
- brisko_customize_preview_js() : mixed
- Binds JS handlers to make Theme Customizer preview reload changes asynchronously.
- brisko_sanitize_checkbox() : bool
- Checkbox sanitization.
- brisko_sanitize_classes() : string
- Classes sanitization.
- brisko_sanitize_number() : numeric-string
- Number sanitization.
- brisko_section_info() : mixed
- Quick Tip.
- brisko_layout_options() : array<string|int, string>
- Theme Layout options.
- brisko_text_align_options() : array<string|int, string>
- Theme Layout options.
- brisko_text_tranform_choices() : array<string|int, string>
- Theme text-tranform choices.
Functions
brisko_customize_partial_copyright()
Render the site title for the selective refresh partial.
brisko_customize_partial_copyright() : void
Return values
void —brisko_customize_partial_poweredby()
Render Selective refresh partial.
brisko_customize_partial_poweredby() : void
Return values
void —brisko_footer_padding_partial()
Render Selective refresh partial.
brisko_footer_padding_partial() : void
Return values
void —brisko_customize_partial_blogname()
Render the site title for the selective refresh partial.
brisko_customize_partial_blogname() : void
Return values
void —brisko_customize_partial_blogdescription()
Render the site tagline for the selective refresh partial.
brisko_customize_partial_blogdescription() : void
Return values
void —brisko_customize_preview_js()
Binds JS handlers to make Theme Customizer preview reload changes asynchronously.
brisko_customize_preview_js() : mixed
Return values
mixed —brisko_sanitize_checkbox()
Checkbox sanitization.
brisko_sanitize_checkbox(bool $checked) : bool
Sanitization callback for 'checkbox' type controls. This callback sanitizes $checked
as a boolean value, either TRUE or FALSE.
Parameters
- $checked : bool
-
Whether the checkbox is checked.
Tags
Return values
bool —Whether the checkbox is checked.
brisko_sanitize_classes()
Classes sanitization.
brisko_sanitize_classes(string $classes) : string
Sanitization callback for 'css classes'
Parameters
- $classes : string
-
.
Return values
string —$classes comma separated values.
brisko_sanitize_number()
Number sanitization.
brisko_sanitize_number(string $number) : numeric-string
Sanitization callback for 'numbers'
Parameters
- $number : string
-
.
Return values
numeric-string —$number .
brisko_section_info()
Quick Tip.
brisko_section_info([string $info = '' ]) : mixed
Parameters
- $info : string = ''
-
.
Return values
mixed —brisko_layout_options()
Theme Layout options.
brisko_layout_options() : array<string|int, string>
Used for Theme Layout Customizer.
Tags
Return values
array<string|int, string> —.
brisko_text_align_options()
Theme Layout options.
brisko_text_align_options() : array<string|int, string>
Used for Theme Layout Customizer.
Tags
Return values
array<string|int, string> —.
brisko_text_tranform_choices()
Theme text-tranform choices.
brisko_text_tranform_choices() : array<string|int, string>
Used for Theme text-tranform in the Customizer.
Tags
Return values
array<string|int, string> —.