Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function widget( $args, $instance ) {
- extract( $args, EXTR_SKIP );
- $component = $instance['component'];
- if ( $component != '' ) { locate_template( 'includes/homepage-' . $component . '-panel.php', true ); }
- } // End widget()
Add Comment
Please, Sign In to add comment