Skip to content

Instantly share code, notes, and snippets.

@kopepasah
Created February 13, 2013 00:21
Show Gist options
  • Save kopepasah/4775791 to your computer and use it in GitHub Desktop.
Save kopepasah/4775791 to your computer and use it in GitHub Desktop.
A simple filter that allows us to change the extension directory within Builder.
<?php
function custom_extension_directory() {
$directories = array(
get_stylesheet_directory() . '/extensions',
);
return $directories;
}
add_filter( 'builder_get_extension_directories', 'custom_extension_directory' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment