i'm having a problem on my wordpress site after editing a php file i start getting this error:
Parse error: syntax error, unexpected 'pf_itemgrid2_func' (T_STRING) in /pf-grid-shortcodes-static.php on line 1
even after undoing the changes and replace the file back to the original i still keep getting that error not sure what happened i even placed the full code inside a php code checker and nothing is showing up. Here are the first lines of code of that php file, thanks upfront for any advice on the subject.
<?php
function pf_itemgrid2_func( $atts ) {
  extract (shortcode_atts(array(
    'listingtype' => '',
    'itemtype' => '',
    'conditions' => '',
    'locationtype' => '',
    'posts_in' => '',
    'sortby' => 'ASC',
    'orderby' => 'title',
    'items' => 8,
    'cols' => 4,
    'features'=>array(),
    'filters' => 'true',
    'itemboxbg' => '',
    'grid_layout_mode' => 'fitRows',
    'featureditems' => '',
    'featureditemshide' => '',
    'authormode' => 0,
    'agentmode' => 0,
    'author' => '',
    'manualargs' => '',
    'hidden_output' => '',
    'ne' => '',
    'ne2' => '',
    'sw' => '',
    'sw2' => '',
    'listingtypefilters' => '',
    'itemtypefilters' => '',
    'locationfilters' => '',
    'tag' => ''
  ), $atts ) );
Here is the link to a pastebin file for the full code:
 
    