Wordpress Objected-Oriented Nonces
Object-oriented wrapper for Wordpress Nonces
by Bayode Aderinola · github.com/bayodesegun/wordpress-oo-nonces · website
★ 0stars
31composer installs
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/bayodesegun/wordpress-oo-nonces/archive/refs/heads/master.zipAlso on Packagist as bayodesegun/wordpress-oo-nonces:
composer require bayodesegun/wordpress-oo-noncesFrom the readme
Wordpress Object-Oriented Nonces
The Wordpress Objected-Oriented Nonces is a plugin that facilitates the use of Wordpress nonces in a object-oriented fashion, by providing a class with functions that implement the original nonce-related function.
Installation
Production installation (without test files)
composer require bayodesegun/wordpress-oo-nonces "~1.0.0"
Development installation (with test files)
composer require bayodesegun/wordpress-oo-nonces "dev-master"
Usage
From any part of WordPress, instantiate a new WPOONonces class: $nonce = new WPOONonces();
Access the usual Nonce functions via the instance variable, dropping the wp prefix where present. For example to use the wpnonceurl() function, do something like: $out = $nonce-nonceurl(adminurl());
Read the full README on GitHub →
Releases
| Tag | Published |
|---|---|
| 1.0.0 | Aug 30, 2017 |
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.