Packages

CAWeb

CAWebModuleExtension

ds

Reports

Errors

Markers

Indices

Files

functions.php

CAWeb Theme Functions

Table of Contents

Actions

WordPress Hook: admin_enqueue_scripts

Callback Function: caweb_admin_enqueue_scripts

Priority: 15

Source: functions.php : 451

WordPress Hook: admin_init

Description: Triggered before any other hook when a user accesses the admin area. Note, this does not just run on user-facing admin screens. It runs on admin-ajax.php and admin-post.php as well.

Callback Function: caweb_admin_init

Priority: 10

Source: functions.php : 425

WordPress Hook: send_headers

Callback Function: caweb_enable_hsts

Priority: 10

Source: functions.php : 210

WordPress Hook: get_header

Callback Function: caweb_get_header

Priority: 10

Source: functions.php : 269

WordPress Hook: init

Description: Note, this does not just run on user-facing admin screens. It runs on admin-ajax.php and admin-post.php as well.

Callback Function: caweb_init

Priority: 10

Source: functions.php : 224

WordPress Hook: pre_get_posts

Description: Fires after the query variable object is created, but before the actual query is run.

Callback Function: caweb_pre_get_posts

Priority: 11

Source: functions.php : 248

WordPress Hook: save_post

Description: Fires once a post has been saved.

Callback Function: caweb_save_post_list_meta

Priority: 10

Arguments: 2

Source: functions.php : 522

WordPress Hook: after_setup_theme

Description: Sets up theme defaults and registers support for various WordPress features. Note that this function is hooked into the after_setup_theme hook, which runs before the init hook. The init hook is too late for some features, such as indicating support for post thumbnails.

Callback Function: caweb_setup_theme

Priority: 9999999

Source: functions.php : 86

WordPress Hook: wp_enqueue_scripts

Description: Fires when scripts and styles are enqueued.

Callback Function: caweb_wp_enqueue_scripts

Priority: 99999999

Source: functions.php : 288

WordPress Hook: wp_footer

Callback Function: caweb_wp_footer

Priority: 11

Source: functions.php : 397

WordPress Hook: wp_head

Callback Function: caweb_wp_head

Priority: 10

Source: functions.php : 382

Functions

caweb_admin_enqueue_scripts() CAWeb Admin Enqueue Scripts and Styles
 caweb_admin_enqueue_scripts( $hook) : void
Return values

void

caweb_admin_init() CAWeb Admin Init
 caweb_admin_init() : void
Return values

void

caweb_enable_hsts() Enables the HTTP Strict Transport Security (HSTS) header in WordPress.
 caweb_enable_hsts() : void
Return values

void

caweb_get_header() Add template header if using Divi Custom Type 'Project
 caweb_get_header( $name = null) : void
Return values

void

caweb_init() CAWeb Init Triggered before any other hook when a user accesses the admin area.
 caweb_init() : void
Return values

void

caweb_pre_get_posts() CAWeb Pre Get Posts
 caweb_pre_get_posts(WP_Query $query) : \WP_Query
Return values

\WP_Query

caweb_save_post_list_meta() Set CAWeb Category based on Post Detail Module used.
 caweb_save_post_list_meta( $post_id, WP_POST $post) : void
Return values

void

caweb_setup_theme() CAWeb After Setup Theme
 caweb_setup_theme() : void
Return values

void

caweb_wp_enqueue_scripts() Register CAWeb Theme scripts/styles with priority of 99999999
 caweb_wp_enqueue_scripts() : void
Return values

void

caweb_wp_head() WP Head Prints scripts or data in the head tag on the front end.
 caweb_wp_head() : void
Return values

void