After you’ve got the the concept of action hooks down, you can really begin to dive into the possibilities of what you can accomplish from your Child theme. In this article, you’ll find a quick overview of the framework’s primary action hooks.

This article doesn’t include all action hooks, but includes all of the primary action hooks that setup the main visual design of the framework’s HTML markup.

Actions Map

Actions Overview

Before and after site

themeblvd_before
- Description: Before the site just after the opening body tag.
- No default hooked function by framework

themeblvd_after
- Description: After the site just before the closing body tag.
- No default hooked function by framework

Header

themeblvd_header_before
- Description: Before any HTML markup for header is outputted.
- No default hooked function by framework

themeblvd_header_top
- Description: The highest location in the header.
- No default hooked function by framework

themeblvd_before_layout
- Description: Your last chance to add any content before content and sidebars.
- No default hooked function by framework

themeblvd_sidebars
- Description: The functionality of pulling the proper dynamic sidebar based on the right or left side, the user’s current sidebar layout, and any custom sidebars happen here.
- Default function: themeblvd_fixed_sidebars

Locating Default Hooked Functions

If you checkout the framework’s primary functions file that fires everything off to start, you can see where all default functions are hooked onto various framework actions.

/framework/themeblvd.php

Note: This is just a sample screenshot (taken with framework version 2.2.0) to give you the gist of what’s happening in that file; this file will inevitably change over time as far as what actions and default functions are hooked.

Most of these types of functions you see named in the format themeblvd_{action_name}_default, can be found within the following file of the framework.

/framework/frontend/functions/display.php

When making edits to the functionality of default hooked functions, it’s best to un-hook the framework’s function and then hook on your own function its place (see theoretical example).

Conversely, if you do want to just edit one of the functions that’s already hooked, you can do that by following the instructions in the article, Editing Framework Functions.