Table of Contents
Functions
inc/functions.php : 177
caweb_color_schemes()
Retrieve CAWeb Color Schemes
caweb_color_schemes( $version = -1, $field = '', $color = '') : arrayReturn values
array
inc/functions.php : 239
caweb_font_sizes()
CAWeb Font Sizes
caweb_font_sizes(mixed||string|int $exclude = array(), $values = false) : arrayReturn values
array
inc/functions.php : 289
caweb_get_attachment_post_meta()
Return CAWeb Attachment Meta Field for given urls
caweb_get_attachment_post_meta(string|array $image_url, $meta_key = '') : string|arrayReturn values
string|array
inc/functions.php : 93
caweb_get_min_file()
Load Minified Version of a file
caweb_get_min_file( $f, $ext = 'css') : stringReturn values
string
inc/functions.php : 337
caweb_get_shortcode_from_content()
Retrieve specific shortcode tag from given content
caweb_get_shortcode_from_content( $con = '', $tag = '', $all_matches = false) : array|objectReturn values
array|object
inc/functions.php : 435
caweb_get_user_color()
Get User Profile Color
caweb_get_user_color() : stringReturn values
string
inc/functions.php : 60
caweb_is_beta_version()
Returns whether or not the Site Wide Template Version is a Beta
caweb_is_beta_version() : boolReturn values
bool
inc/functions.php : 81
caweb_is_debug_enabled()
Is CAWeb Theme is running in Debug Mode.
caweb_is_debug_enabled() : boolReturn values
bool
inc/functions.php : 448
caweb_is_divi_used()
Checks if page/post is using Divi Builder.
caweb_is_divi_used() : boolReturn values
bool
inc/functions.php : 107
caweb_template_colors()
CA.gov Template Colors
caweb_template_colors() : arrayReturn values
array
inc/functions.php : 16
caweb_template_version()
Returns the Site Wide Template Version Setting
caweb_template_version( $exclude_design_system = false) : intReturn values
int
inc/functions.php : 38
caweb_template_versions()
Returns all CAWeb State Template Versions
caweb_template_versions( $include_beta = true) : arrayReturn values
array