Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.36 KB | None | 0 0
  1. /**
  2.  * Override the OPML icon, we want to hide it
  3.  */
  4. function foobar_opml_icon($url) {
  5.   return '';
  6. }
  7.  
  8. /**
  9.  * Implementation of hook_registry_alter()
  10.  */
  11. function foobar_theme_registry_alter(&$theme_registry) {
  12.  
  13.   /**
  14.    * We want to override the link paths back to blog page
  15.    */
  16.   $theme_registry['opml_icon']['function'] = 'foobar_opml_icon';
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement