Hooks

Use the built in hooks in your child-themes functions.php to further customize your website.


General

Hook: wpbf_body_open

Execution: Fires after the opening <body> tag.

function yourfunction() {
    echo 'Hi!'; 
} 
add_action( 'wpbf_body_open', 'yourfunction' );

Pre Header

Hook: wpbf_before_pre_header

Execution: Fires before the pre-header section.

function yourfunction() {
    echo 'Hi!'; 
} 
add_action( 'wpbf_before_pre_header', 'yourfunction' );

Hook: wpbf_pre_header_open

Execution: Fires after the opening pre-header wrapper (only available on single column layout).

function yourfunction() {
    echo 'Hi!'; 
} 
add_action( 'wpbf_pre_header_open', 'yourfunction' );

Hook: wpbf_pre_header_close

Execution: Fires before the closing pre-header wrapper (only available on single column layout).

function yourfunction() {
    echo 'Hi!'; 
} 
add_action( 'wpbf_pre_header_close', 'yourfunction' );

Hook: wpbf_pre_header_left_open

Execution: Fires before the pre-header content in the left column (only available on two column layout).

function yourfunction() {
    echo 'Hi!'; 
} 
add_action( 'wpbf_pre_header_left_open', 'yourfunction' );

Hook: wpbf_pre_header_left_close

Execution: Fires after the pre-header content in the left column (only available on two column layout).

function yourfunction() {
    echo 'Hi!'; 
} 
add_action( 'wpbf_pre_header_left_close', 'yourfunction' );

Hook: wpbf_pre_header_right_open

Execution: Fires before the pre-header content in the right column (only available on two column layout).

function yourfunction() {
    echo 'Hi!'; 
} 
add_action( 'wpbf_pre_header_right_open', 'yourfunction' );

Hook: wpbf_pre_header_right_close

Execution: Fires after the pre-header content in the right column (only available on two column layout).

function yourfunction() {
    echo 'Hi!'; 
} 
add_action( 'wpbf_pre_header_right_close', 'yourfunction' );

Hook: wpbf_after_pre_header

Execution: Fires after the pre-header section.

function yourfunction() {
    echo 'Hi!'; 
} 
add_action( 'wpbf_after_pre_header', 'yourfunction' );

Hook: wpbf_before_header

Execution: Fires before the opening <header> tag.

function yourfunction() {
    echo 'Hi!'; 
} 
add_action( 'wpbf_before_header', 'yourfunction' );

Hook: wpbf_header_open

Execution: Fires after the opening <header> tag.

function yourfunction() {
    echo 'Hi!'; 
} 
add_action( 'wpbf_header_open', 'yourfunction' );

Hook: wpbf_header_close

Execution: Fires before the closing <header> tag.

function yourfunction() {
    echo 'Hi!'; 
} 
add_action( 'wpbf_header_close', 'yourfunction' );

Hook: wpbf_after_header

Execution: Fires after the closing <header> tag.

function yourfunction() {
    echo 'Hi!'; 
} 
add_action( 'wpbf_after_header', 'yourfunction' );

Hook: wpbf_before_main_menu

Execution: Fires before the opening main menu <nav> tag.

function yourfunction() {
    echo 'Hi!'; 
} 
add_action( 'wpbf_before_main_menu', 'yourfunction' );

Hook: wpbf_main_menu_open

Execution: Fires after the opening main menu <nav> tag.

function yourfunction() {
    echo 'Hi!'; 
} 
add_action( 'wpbf_main_menu_open', 'yourfunction' );

Hook: wpbf_main_menu_close

Execution: Fires before the closing main menu <nav> tag.

function yourfunction() {
    echo 'Hi!'; 
} 
add_action( 'wpbf_main_menu_close', 'yourfunction' );

Hook: wpbf_after_main_menu

Execution: Fires after the closing main menu <nav> tag.

function yourfunction() {
    echo 'Hi!'; 
} 
add_action( 'wpbf_after_main_menu', 'yourfunction' );

Hook: wpbf_before_off_canvas_menu

Execution: Fires before the opening off-canvas menu <nav> tag.

function yourfunction() {
    echo 'Hi!'; 
} 
add_action( 'wpbf_before_off_canvas_menu', 'yourfunction' );

Hook: wpbf_after_off_canvas_menu

Execution: Fires after the closing off-canvas menu <nav> tag.

function yourfunction() {
    echo 'Hi!'; 
} 
add_action( 'wpbf_after_off_canvas_menu', 'yourfunction' );

Hook: wpbf_before_full_screen_menu

Execution: Fires before the opening full-screen menu <nav> tag.

function yourfunction() {
    echo 'Hi!'; 
} 
add_action( 'wpbf_before_full_screen_menu', 'yourfunction' );

Hook: wpbf_after_full_screen_menu

Execution: Fires after the closing full-screen menu <nav> tag.

function yourfunction() {
    echo 'Hi!'; 
} 
add_action( 'wpbf_after_full_screen_menu', 'yourfunction' );

Hook: wpbf_before_sidebar

Execution: Fires before the opening <aside> tag.

function yourfunction() {
    echo 'Hi!'; 
} 
add_action( 'wpbf_before_sidebar', 'yourfunction' );

Hook: wpbf_sidebar_open

Execution: Fires after the opening <aside> tag.

function yourfunction() {
    echo 'Hi!'; 
} 
add_action( 'wpbf_sidebar_open', 'yourfunction' );

Hook: wpbf_after_sidebar

Execution: Fires after the closing <aside> tag.

function yourfunction() {
    echo 'Hi!'; 
} 
add_action( 'wpbf_after_sidebar', 'yourfunction' );

Hook: wpbf_sidebar_close

Execution: Fires before the closing <aside> tag.

function yourfunction() {
    echo 'Hi!'; 
} 
add_action( 'wpbf_sidebar_close', 'yourfunction' );

Hook: wpbf_before_footer

Execution: Fires before the opening <footer> tag.

function yourfunction() {
    echo 'Hi!'; 
} 
add_action( 'wpbf_before_footer', 'yourfunction' );

Hook: wpbf_footer_open

Execution: Fires after the opening <footer> tag.

function yourfunction() {
    echo 'Hi!'; 
} 
add_action( 'wpbf_footer_open', 'yourfunction' );

Hook: wpbf_footer_close

Execution: Fires before the closing <footer> tag.

function yourfunction() {
    echo 'Hi!'; 
} 
add_action( 'wpbf_footer_close', 'yourfunction' );

Hook: wpbf_after_footer

Execution: Fires after the closing <footer> tag.

function yourfunction() {
    echo 'Hi!'; 
} 
add_action( 'wpbf_after_footer', 'yourfunction' );

Posts

Hook: wpbf_before_article

Execution: Fires before the opening <article> tag on single pages.

function yourfunction() {
    echo 'Hi!'; 
} 
add_action( 'wpbf_before_article', 'yourfunction' );

Hook: wpbf_before_article_meta

Execution: Fires before the article meta-data.

function yourfunction() {
    echo 'Hi!'; 
} 
add_action( 'wpbf_before_article_meta', 'yourfunction' );

Hook: wpbf_after_article_meta

Execution: Fires after the article meta-data inside the article-header.

function yourfunction() {
    echo 'Hi!'; 
} 
add_action( 'wpbf_after_article_meta', 'yourfunction' );

Hook: wpbf_after_article

Execution: Fires after the closing <article> tag on single pages.

function yourfunction() {
    echo 'Hi!'; 
} 
add_action( 'wpbf_after_article', 'yourfunction' );
Page Builder Framework

A Page Builder’s best friend.

Sign up for the Newsletter

Get notified about the latest features and updates.

Join the Community

Cookie Preference

Please select an option. You can find more information about the consequences of your choice at Help. Privacy Policy | Imprint

Select an option to continue

Your selection was saved!

Help

Help

To continue, you must make a cookie selection. Below is an explanation of the different options and their meaning.

  • Accept cookies:
    All cookies such as tracking and analytics cookies.
  • Reject tracking cookies:
    No cookies except for those necessary for technical reasons are set.

You can change your cookie setting here anytime: Privacy Policy. Imprint

Back