<commit_before># xu

[![Build Status](https://travis-ci.org/wp-xu/xu.svg?branch=master)](https://travis-ci.org/wp-xu/xu) [![codecov.io](http://codecov.io/github/wp-xu/xu/coverage.svg?branch=master)](http://codecov.io/github/wp-xu/xu?branch=master)
[![License](https://img.shields.io/packagist/l/wp-xu/xu.svg)](https://packagist.org/packages/wp-xu/xu)

> Requires PHP 5.4

Collection of useful WordPress and PHP functions

## Install

```
$ composer require wp-xu/xu
```
## Documentation

> WIP

You can call xu functions with `xu_` prefix or `xu::` for static methods.

Example:

```php
xu_is_post_type( 123, 'post' );

// or

xu::is_post_type( 123, 'post' );
```

## License

MIT © [<NAME>](https://github.com/frozzare)<commit_msg>Add docs link to readme<commit_after># xu

[![Build Status](https://travis-ci.org/wp-xu/xu.svg?branch=master)](https://travis-ci.org/wp-xu/xu) [![codecov.io](http://codecov.io/github/wp-xu/xu/coverage.svg?branch=master)](http://codecov.io/github/wp-xu/xu?branch=master)
[![License](https://img.shields.io/packagist/l/wp-xu/xu.svg)](https://packagist.org/packages/wp-xu/xu)

> Requires PHP 5.4

Collection of useful WordPress and PHP functions

## Install

```
$ composer require wp-xu/xu
```

## Documentation

[API reference docs](https://wp-xu.github.io/docs/)

## License

MIT © [<NAME>](https://github.com/frozzare)
{'fraction_non_alphanumeric': 0.21095484826054775, 'fraction_numerical': 0.007401924500370096, 'mean_word_length': 4.586776859504132, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 8, 'https://': 11, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2155628', 'n_tokens_mistral': 580, 'n_tokens_neox': 521, 'n_words': 79}