/** * Sets directory where Visual Composer should look for template files for content elements * @param string full directory path to new template directory with trailing slash */ function vc_set_template_dir($dir) { WPBakeryVisualComposer::setUserTemplate($dir); }