Skip to content

Commit

Permalink
removed Example Widget to conform with Campus Press guidelines
Browse files Browse the repository at this point in the history
  • Loading branch information
Herm71 committed Jan 30, 2020
1 parent 111df6e commit d21db06
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 87 deletions.
9 changes: 9 additions & 0 deletions lib/functions/general.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,15 @@ function bb_custom_functionality_hidden($r, $url)
}
add_filter('http_request_args', 'bb_custom_functionality_hidden', 5, 2);

/**
* Production URL
*
*/
function prefix_production_url( $url ) {
return 'https://science.ucsc.edu';
}
add_filter( 'be_media_from_production_url', 'prefix_production_url' );

/**
* Enqueue custom Admin CSS
*/
Expand Down
81 changes: 0 additions & 81 deletions lib/functions/widgets.php

This file was deleted.

6 changes: 0 additions & 6 deletions plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,5 @@
// Shortcodes
require_once( UCSC_DIR . '/lib/functions/shortcodes.php' );

// Sidebars
//require_once( UCSC_DIR . '/lib/functions/sidebars.php' );

// Widgets
require_once( UCSC_DIR . '/lib/functions/widgets.php' );

// General
require_once( UCSC_DIR . '/lib/functions/general.php' );

0 comments on commit d21db06

Please sign in to comment.