Classes, Interfaces & Traits
CAWeb_Customize_Alert_Banner_Control CAWeb_Customize_Icon_Control Core class used to implement an HTML list of nav menu items. Create HTML list of nav menu input items. CAWeb Theme UpgraderFunctions
Setup Dashboard Widgets Add CAWeb Metaboxescaweb_add_unfiltered_html_capability()
Enable unfiltered_html capability for Administrators. Load all necessary CAWeb Admin Bar items. CAWeb Admin Enqueue Scripts and Styles CAWeb Admin Footer Text Remove Certain Divi Metaboxes from the Navigation Menu CAWeb Admin Init CAWeb Administration Menu Setup Fires before the administration menu loads in the admin. CAWeb Allowed HTML for wp_ksescaweb_allowed_redirect_hosts()
CAWeb Allowed Redirected Hosts Setup CAWeb API Menu CAWeb Page Body Class CAWeb Publishing Branding Admin Head CAWeb Carouselcaweb_change_lost_your_password()
Change 'Lost your password?' text Retrieve CAWeb Color Schemes Setup Widgetscaweb_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 Register Customizercaweb_customize_register_alert_banner_settings()
CAWeb Register Customizer Registers CAWeb Options Alert Banner Settingscaweb_customize_register_custom_file_settings()
CAWeb Register Customizer Registers CAWeb Options Custom CSS/JS Settingscaweb_customize_register_general_settings()
CAWeb Register Customizer Registers CAWeb Options General Settingscaweb_customize_register_google_settings()
CAWeb Register Customizer Registers CAWeb Options Google Settingscaweb_customize_register_page_header_settings()
CAWeb Register Customizer Registers CAWeb Options Page Header Settingscaweb_customize_register_social_media_settings()
CAWeb Register Customizer Registers CAWeb Options Google Settingscaweb_customize_register_utility_header_settings()
CAWeb Register Customizer Registers CAWeb Options Utility Header Settingscaweb_customizer_google_trans_custom_option()
CAWeb Google Translate Option Check Default callback used when invoking WP_Customize_Control::active(). Styles for Dashboard Widgetscaweb_default_events_template_classes()
Allows filtering the classes for the main element for the /events/ page. Default CAWeb fav ico URL Login Page Disclaimer Message Create Document SiteMap 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 Check the Binary Signature of a file, currently only icons Retrieve CAWeb fav icon filename CAWeb Font Sizes Generates the CA.gov Full Icon JSON Filecaweb_get_attachment_post_meta()
Return CAWeb Attachment Meta Field for given urls Add template header if using Divi Custom Type 'Project Load Minified Version of a filecaweb_get_nav_menu_item_children()
Returns all child nav_menu_items under a specific parentcaweb_get_shortcode_from_content()
Retrieve specific shortcode tag from given content Returns and array of just the CA Site Options Get User Profile Color Renders CAWeb Google Translator Renders CAWeb Icon Menu Return CAWeb Icon Menu 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 Triggered before any other hook when a user accesses the admin area. Returns whether or not the Site Wide Template Version is a Betacaweb_is_custom_link_enabled()
CAWeb Utility Header Custom Link Options Check Default callback used when invoking WP_Customize_Control::active(). Is CAWeb Theme is running in Debug Mode. Checks if page/post is using Divi Builder.caweb_live_drafts_admin_footer()
CAWeb Live Drafts Admin Footercaweb_live_drafts_admin_head()
CAWeb Live Drafts Admin Headcaweb_live_drafts_admin_notice()
CAWeb Live Drafts Admin Noticescaweb_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 Initializationcaweb_live_drafts_migrate_post_meta()
CAWeb Live Drafts Migrate Post Metacaweb_live_drafts_post_hooks()
CAWeb Live Drafts Post Hookscaweb_live_drafts_pre_post_update()
CAWeb Live Drafts Pre Post Updatecaweb_live_drafts_publish_future_post()
CAWeb Publish Future Post CAWeb Live Drafts Post Updatecaweb_live_drafts_wp_trash_post()
CAWeb Live Drafts Trash Post If direct access to certain menus is accessed redirect to admin page Loads the CAWeb Admin Stylescaweb_login_form_lostpassword()
Login form for Lost Password Fires before a specified login form action. Add filter to network site url on Login Form Reset Password Fires before a specified login form action. Changing the text on the logo to show your site name Changing the logo link from wordpress.org to CAWeb Support Site link https://developer.wordpress.org/reference/hooks/login_url/ Add Site ID and nonce to lost password form Fires inside the lostpassword form tags, before the hidden fields. Redirect for after Lost your password has been generated Filters the URL redirected to after submitting the lostpassword/retrievepassword form. Lost your password? URL Filters the Lost Password URL. Add hidden MCE Buttons The primary toolbar (always visible) Add hidden MCE Buttons The advanced toolbar (can be toggled on/off by user)caweb_multi_ga_menu_option_setup()
Setup Multisite Google Analytics Menucaweb_nav_menu_theme_locations()
Returns array of CAWeb Menu Theme Locations 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 Setup CAWeb Options Menucaweb_page_identifier_metabox_callback()
Page Option Meta box display callback. CAWeb Panel CAWeb Post Body Class CAWeb Pre Get Postscaweb_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 Widgetcaweb_redirect_if_author_parameter()
Redirects to home page if Author Parameter is in the URL Refreshes the caweb_news_feed site transient if necessary CAWeb Administration Menu Setup Fires before the administration menu loads in the admin.caweb_retrieve_attachment_post_meta()
Retrieve attachment post meta alt text Retrieve Data from Feedcaweb_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 Safe Style CSScaweb_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 Save API Values Save Multisite GA Values Save CAWeb Options Save post meta on the 'save_post' hook. Set CAWeb Category based on Post Detail Module used. CAWeb Script Loader Tags Filters the HTML script tag of an enqueued script. CAWeb Section CAWeb After Setup Theme CAWeb Slide CA.gov Icon Library List CA.gov Template Colors Returns the Site Wide Template Version Setting Returns all CAWeb State Template Versions CAWeb Theme Page Templates Filters list of page templates for a theme. TinyMCE Editor Attached callback to 'tiny_mce_before_init' CAWeb TinyMCE Settings CAWeb upload CSS/JS files to the sites respective external directorycaweb_validate_password_reset()
Password Reset Strength Validation Fires before the password reset procedure is validated. Register CAWeb Theme scripts/styles with priority of 99999999 CAWeb Footer WP Head Prints scripts or data in the head tag on the front end. Add Reset Password Confirmation Filters the login page errors.caweb_wpforms_custom_capability()
Change WPForms capability requirement. This filter is used to switch menu order. CAWeb Disable XMLRPC 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
define( 'CAWEB_ABSPATH', \get_stylesheet_directory() );
define( 'CAWEB_BETA_TEMPLATE_VERSIONS', array() );
define( 'CAWEB_CA_STATE_PORTAL_CDN_URL', 'https://california.azureedge.net/cdt/CAgovPortal' );
define( 'CAWEB_DIVI_VERSION', \wp_get_theme('Divi')->get('Version') );
define( 'CAWEB_EXTENSION', 'caweb-module-extension' );
define( 'CAWEB_EXTERNAL_DIR', \sprintf('%1$s/%2$s-ext/', \wp_get_upload_dir()['basedir'], \strtolower(\wp_get_theme()->stylesheet)) );
define( 'CAWEB_EXTERNAL_URI', \sprintf('%1$s/%2$s-ext', \wp_get_upload_dir()['baseurl'], \strtolower(\wp_get_theme()->stylesheet)) );
define( 'CAWEB_MINIMUM_SUPPORTED_TEMPLATE_VERSION', 5.5 );
define( 'CAWEB_SUPPORTED_TEMPLATE_VERSIONS', array(5.5) );
define( 'CAWEB_URI', \get_stylesheet_directory_uri() );
define( 'CAWEB_VERSION', \wp_get_theme('CAWeb')->get('Version') );