PHPackages                             creativform/wp-nonce-function - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. creativform/wp-nonce-function

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

creativform/wp-nonce-function
=============================

Object oriented functionality for WP Nonce

06PHP

Since Mar 8Pushed 9y ago1 watchersCompare

[ Source](https://github.com/CreativForm/wp-nonce-function)[ Packagist](https://packagist.org/packages/creativform/wp-nonce-function)[ RSS](/packages/creativform-wp-nonce-function/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

WP Nonce Function
=================

[](#wp-nonce-function)

WP Nonce Function if object oriented (OOP) way to handle with WordPress wp\_nonce\_\*() functions.

Table of contents:

- [Requirements](#requirements)
- [Installation](#installation)
- [Usage](#usage)

Requirements
------------

[](#requirements)

- PHP &gt;= 5.6.4
- WordPress &gt;= 4.6

Installation
------------

[](#installation)

You can install this class both on command-line or by pasting it into the root of your plugin directory.

### via Command-line

[](#via-command-line)

Using [Composer](https://getcomposer.org/), add Custom Nonce Class to your plugin's dependencies.

```
composer require creativform/wp_nonce_function:dev-master
```

### Other way

[](#other-way)

1. Download the [latest zip](https://github.com/CreativForm/wp-nonce-function/archive/master.zip) of this repo.
2. Unzip the master.zip file.
3. Copy and paste it into the root of your plugin directory.
4. Continue with your project.

Usage
-----

[](#usage)

Setup the minimum required thigs:

```
