Public paste
Undefined
By: Guest | Date: Apr 27 2015 16:23 | Format: PHP | Expires: never | Size: 379 B | Hits: 785

  1. <?php
  2.  function (MenuItem $primarySidebar) {
  3.         $primarySidebar = Menu::primarySidebar();
  4.         $primarySidebar->removeChild('Network Status');
  5.  }
  6. add_hook("ClientAreaPrimarySidebar", 1);
  7.  
  8.  
  9. // foutcode:  Parse error: syntax error, unexpected 'add_hook' (T_STRING) in /home/myhw/domains/my.hostingwalk.com/public_html/new/includes/hooks/example.php on line 9