Skip to content

Instantly share code, notes, and snippets.

@gilzow
Created August 20, 2019 13:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gilzow/fdf3125127ec78928ca11fe8ea0484af to your computer and use it in GitHub Desktop.
Save gilzow/fdf3125127ec78928ca11fe8ea0484af to your computer and use it in GitHub Desktop.
vc_before_init hook
<?php
add_action('vc_before_init', 'vc_before_init_actions');
function vc_before_init_actions()
{
require_once(get_template_directory() . '/vc_templates/breadcrumb.php');
require_once(get_template_directory() . '/vc_templates/blockquote.php');
require_once(get_template_directory() . '/vc_templates/post_grid_filters.php');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment