simplereach/sranalytics_wordpress — pull request #11 by matthewspencer (2014-11-04 17:56:04+00:00)
Title: apply_filters for values in $javascript_array

Create filters for values sent to SimpleReach: `sranalytics_title`, `sranalytics_url`, `sranalytics_date`, `sranalytics_channels`, `sranalytics_tags`, and `sranalytics_authors`.

Allows sites with unconventional setups to send the correct data. For example, when using [Co-Authors Plus](https://github.com/Automattic/co-authors-plus) for post attribution, the following filter could be used to send author data:

```php
display_name;
}

return $authors;
} );
```