Packages

CAWeb

CAWebModuleExtension

ds

Reports

Errors

Markers

Indices

Files

Classes, Interfaces & Traits

CAWeb_Customize_Alert_Banner_Control

CAWeb_Customize_Alert_Banner_Control

CAWeb_Customize_Icon_Control

CAWeb_Customize_Icon_Control

CAWeb_Nav_Menu

Core class used to implement an HTML list of nav menu items.

CAWeb_Nav_Menu_Walker

Create HTML list of nav menu input items.

CAWeb_Theme_Update

CAWeb Theme Upgrader

Functions

caweb_add_dashboard_widgets()

Setup Dashboard Widgets

caweb_add_meta_boxes()

Add CAWeb Metaboxes

caweb_add_unfiltered_html_capability()

Enable unfiltered_html capability for Administrators.

caweb_admin_bar_menu()

Load all necessary CAWeb Admin Bar items.

caweb_admin_enqueue_scripts()

CAWeb Admin Enqueue Scripts and Styles

caweb_admin_footer_text()

CAWeb Admin Footer Text

caweb_admin_head_nav_menus()

Remove Certain Divi Metaboxes from the Navigation Menu

caweb_admin_init()

CAWeb Admin Init

caweb_admin_menu()

CAWeb Administration Menu Setup Fires before the administration menu loads in the admin.

caweb_allowed_html()

CAWeb Allowed HTML for wp_kses

caweb_allowed_redirect_hosts()

CAWeb Allowed Redirected Hosts

caweb_api_menu_option_setup()

Setup CAWeb API Menu

caweb_body_class()

CAWeb Page Body Class

caweb_branding_admin_head()

CAWeb Publishing Branding Admin Head

caweb_carousel_func()

CAWeb Carousel

caweb_change_lost_your_password()

Change 'Lost your password?' text

caweb_color_schemes()

Retrieve CAWeb Color Schemes

caweb_custom_sidebar()

Setup Widgets

caweb_customize_controls_enqueue_scripts()

CAWeb Customizer Enqueue Scripts Enqueues Customizer control scripts.

caweb_customize_controls_print_styles()

CAWeb Customizer Styles Fires when Customizer control styles are printed.

caweb_customize_preview_init()

CAWeb Customizer Preview Init Fires once the Customizer preview has initialized and JavaScript settings have been printed.

caweb_customize_register()

CAWeb Register Customizer

caweb_customize_register_alert_banner_settings()

CAWeb Register Customizer Registers CAWeb Options Alert Banner Settings

caweb_customize_register_custom_file_settings()

CAWeb Register Customizer Registers CAWeb Options Custom CSS/JS Settings

caweb_customize_register_general_settings()

CAWeb Register Customizer Registers CAWeb Options General Settings

caweb_customize_register_google_settings()

CAWeb Register Customizer Registers CAWeb Options Google Settings

caweb_customize_register_page_header_settings()

CAWeb Register Customizer Registers CAWeb Options Page Header Settings

caweb_customize_register_social_media_settings()

CAWeb Register Customizer Registers CAWeb Options Google Settings

caweb_customize_register_utility_header_settings()

CAWeb Register Customizer Registers CAWeb Options Utility Header Settings

caweb_customizer_google_trans_custom_option()

CAWeb Google Translate Option Check Default callback used when invoking WP_Customize_Control::active().

caweb_dashboard_styles()

Styles for Dashboard Widgets

caweb_default_events_template_classes()

Allows filtering the classes for the main element for the /events/ page.

caweb_default_favicon_url()

Default CAWeb fav ico URL

caweb_disclaimer_message()

Login Page Disclaimer Message

caweb_doc_create_xml()

Create Document SiteMap

caweb_enable_hsts()

Enables the HTTP Strict Transport Security (HSTS) header in WordPress.

caweb_et_pb_font_icon_symbols()

Merger of Divi and CAWeb Icon Font Library This filter is applied by Divi

caweb_fav_icon_checker()

Check the Binary Signature of a file, currently only icons

caweb_favicon_name()

Retrieve CAWeb fav icon filename

caweb_font_sizes()

CAWeb Font Sizes

caweb_generate_icon_json()

Generates the CA.gov Full Icon JSON File

caweb_get_attachment_post_meta()

Return CAWeb Attachment Meta Field for given urls

caweb_get_header()

Add template header if using Divi Custom Type 'Project

caweb_get_min_file()

Load Minified Version of a file

caweb_get_nav_menu_item_children()

Returns all child nav_menu_items under a specific parent

caweb_get_shortcode_from_content()

Retrieve specific shortcode tag from given content

caweb_get_site_options()

Returns and array of just the CA Site Options

caweb_get_user_color()

Get User Profile Color

caweb_google_translate_func()

Renders CAWeb Google Translator

caweb_icon_menu()

Renders CAWeb Icon Menu

caweb_icon_menu_func()

Return CAWeb Icon Menu

caweb_icons()

This array is required and needs to be updated whenever new icons are added, this ensures that icons appear in the list in the correct order

caweb_init()

CAWeb Init Triggered before any other hook when a user accesses the admin area.

caweb_is_beta_version()

Returns whether or not the Site Wide Template Version is a Beta

caweb_is_custom_link_enabled()

CAWeb Utility Header Custom Link Options Check Default callback used when invoking WP_Customize_Control::active().

caweb_is_debug_enabled()

Is CAWeb Theme is running in Debug Mode.

caweb_is_divi_used()

Checks if page/post is using Divi Builder.

caweb_live_drafts_admin_footer()

CAWeb Live Drafts Admin Footer

caweb_live_drafts_admin_head()

CAWeb Live Drafts Admin Head

caweb_live_drafts_admin_notice()

CAWeb Live Drafts Admin Notices

caweb_live_drafts_display_post_states()

Filters the default post display states used in the posts list table.

caweb_live_drafts_duplicate_post()

CAWeb Live Drafts Duplicate Post

caweb_live_drafts_init()

CAWeb Live Drafts Initialization

caweb_live_drafts_migrate_post_meta()

CAWeb Live Drafts Migrate Post Meta

caweb_live_drafts_post_hooks()

CAWeb Live Drafts Post Hooks

caweb_live_drafts_pre_post_update()

CAWeb Live Drafts Pre Post Update

caweb_live_drafts_publish_future_post()

CAWeb Publish Future Post

caweb_live_drafts_save_post()

CAWeb Live Drafts Post Update

caweb_live_drafts_wp_trash_post()

CAWeb Live Drafts Trash Post

caweb_load_themes_tools()

If direct access to certain menus is accessed redirect to admin page

caweb_login_enqueue_scripts()

Loads the CAWeb Admin Styles

caweb_login_form_lostpassword()

Login form for Lost Password Fires before a specified login form action.

caweb_login_form_rp()

Add filter to network site url on Login Form Reset Password Fires before a specified login form action.

caweb_login_headertext()

Changing the text on the logo to show your site name

caweb_login_url()

Changing the logo link from wordpress.org to CAWeb Support Site link https://developer.wordpress.org/reference/hooks/login_url/

caweb_lostpassword_form()

Add Site ID and nonce to lost password form Fires inside the lostpassword form tags, before the hidden fields.

caweb_lostpassword_redirect()

Redirect for after Lost your password has been generated Filters the URL redirected to after submitting the lostpassword/retrievepassword form.

caweb_lostpassword_url()

Lost your password? URL Filters the Lost Password URL.

caweb_mce_buttons()

Add hidden MCE Buttons The primary toolbar (always visible)

caweb_mce_buttons_2()

Add hidden MCE Buttons The advanced toolbar (can be toggled on/off by user)

caweb_multi_ga_menu_option_setup()

Setup Multisite Google Analytics Menu

caweb_nav_menu_theme_locations()

Returns array of CAWeb Menu Theme Locations

caweb_network_site_url()

Change the Reset Password URL to use the site url instead of the network url Filters the network site URL.

caweb_news_dashboard_widget_function()

Render CAWeb News Dashboard Widget

caweb_option_page()

Setup CAWeb Options Menu

caweb_page_identifier_metabox_callback()

Page Option Meta box display callback.

caweb_panel_func()

CAWeb Panel

caweb_post_class()

CAWeb Post Body Class

caweb_pre_get_posts()

CAWeb Pre Get Posts

caweb_pre_update_site_option_caweb_password()

Filters the GitHub API caweb_password option before its value is updated.

caweb_recent_updates_dashboard_widget_function()

Render CAweb Recent Updates Widget

caweb_redirect_if_author_parameter()

Redirects to home page if Author Parameter is in the URL

caweb_refresh_news_feed()

Refreshes the caweb_news_feed site transient if necessary

caweb_remove_admin_menus()

CAWeb Administration Menu Setup Fires before the administration menu loads in the admin.

caweb_retrieve_attachment_post_meta()

Retrieve attachment post meta alt text

caweb_retrieve_feeds_data()

Retrieve Data from Feed

caweb_retrieve_password_message()

Changes Blog Name in message to the correct site Blog Nameb_retrieve_password_message Filters the message body of the password reset mail.

caweb_retrieve_password_title()

Changes Blog Name in title to the correct site Blog Name Filters the subject of the password reset email.

caweb_retrieve_various_sanitized_options()

Retrieves certain CAWeb Options that have been uniquely sanitized

caweb_safe_style_css()

Safe Style CSS

caweb_sanitize_customizer_checkbox()

CAWeb Sanitize Callback for Checkbox Options Default sanitize callback used when invoking WP_Customize_Control::active().

caweb_sanitize_various_options()

Sanitize certain CAWeb Options that need to be uniquely sanitized

caweb_save_api_options()

Save API Values

caweb_save_multi_ga_options()

Save Multisite GA Values

caweb_save_options()

Save CAWeb Options

caweb_save_post()

Save post meta on the 'save_post' hook.

caweb_save_post_list_meta()

Set CAWeb Category based on Post Detail Module used.

caweb_script_loader_tag()

CAWeb Script Loader Tags Filters the HTML script tag of an enqueued script.

caweb_section_func()

CAWeb Section

caweb_setup_theme()

CAWeb After Setup Theme

caweb_slide_func()

CAWeb Slide

caweb_symbols()

CA.gov Icon Library List

caweb_template_colors()

CA.gov Template Colors

caweb_template_version()

Returns the Site Wide Template Version Setting

caweb_template_versions()

Returns all CAWeb State Template Versions

caweb_theme_page_templates()

CAWeb Theme Page Templates Filters list of page templates for a theme.

caweb_tiny_mce_before_init()

TinyMCE Editor Attached callback to 'tiny_mce_before_init'

caweb_tiny_mce_settings()

CAWeb TinyMCE Settings

caweb_upload_external_files()

CAWeb upload CSS/JS files to the sites respective external directory

caweb_validate_password_reset()

Password Reset Strength Validation Fires before the password reset procedure is validated.

caweb_wp_enqueue_scripts()

Register CAWeb Theme scripts/styles with priority of 99999999

caweb_wp_footer()

CAWeb Footer

caweb_wp_head()

WP Head Prints scripts or data in the head tag on the front end.

caweb_wp_login_errors()

Add Reset Password Confirmation Filters the login page errors.

caweb_wpforms_custom_capability()

Change WPForms capability requirement.

caweb_wpse_custom_menu_order()

This filter is used to switch menu order.

caweb_xmlrpc_enabled()

CAWeb Disable XMLRPC

et_pb_get_extended_font_icon_symbols()

Returns full list of all icons used in the Divi with ['search_terms'], unicode icon value ['unicode'], icon name ['name'] groups in which the icon is included ['styles'], bool flag which determined is this icon a divi icon or FontAwesome icon['is_divi_icon'].

Constants

CAWEB_ABSPATH
define( 'CAWEB_ABSPATH', \get_stylesheet_directory() );
CAWEB_BETA_TEMPLATE_VERSIONS
define( 'CAWEB_BETA_TEMPLATE_VERSIONS', array() );
CAWEB_CA_STATE_PORTAL_CDN_URL
define( 'CAWEB_CA_STATE_PORTAL_CDN_URL', 'https://california.azureedge.net/cdt/CAgovPortal' );
CAWEB_DIVI_VERSION
define( 'CAWEB_DIVI_VERSION', \wp_get_theme('Divi')->get('Version') );
CAWEB_EXTENSION
define( 'CAWEB_EXTENSION', 'caweb-module-extension' );
CAWEB_EXTERNAL_DIR
define( 'CAWEB_EXTERNAL_DIR', \sprintf('%1$s/%2$s-ext/', \wp_get_upload_dir()['basedir'], \strtolower(\wp_get_theme()->stylesheet)) );
CAWEB_EXTERNAL_URI
define( 'CAWEB_EXTERNAL_URI', \sprintf('%1$s/%2$s-ext', \wp_get_upload_dir()['baseurl'], \strtolower(\wp_get_theme()->stylesheet)) );
CAWEB_MINIMUM_SUPPORTED_TEMPLATE_VERSION
define( 'CAWEB_MINIMUM_SUPPORTED_TEMPLATE_VERSION', 5.5 );
CAWEB_SUPPORTED_TEMPLATE_VERSIONS
define( 'CAWEB_SUPPORTED_TEMPLATE_VERSIONS', array(5.5) );
CAWEB_URI
define( 'CAWEB_URI', \get_stylesheet_directory_uri() );
CAWEB_VERSION
define( 'CAWEB_VERSION', \wp_get_theme('CAWeb')->get('Version') );