Created
May 19, 2016 12:57
-
-
Save Jursdotme/15fa41c4f10ad7ffd59991f7664b7328 to your computer and use it in GitHub Desktop.
Override Pagebuilder Widget template.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function mytheme_feature_widget_template( $filename, $instance, $widget ){ | |
$filename = get_stylesheet_directory() . '/partials/feature-widget-template.php'; | |
return $filename; | |
} | |
add_filter( 'siteorigin_widgets_template_file_secondthought-feature-widget', 'mytheme_feature_widget_template', 10, 3 ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment