dev-master
9999999-devWordPress Object-Oriented Nonces
MIT
The Requires
by Bayode Aderinola
1.0.0
1.0.0.0WordPress Object-Oriented Nonces
MIT
The Requires
by Bayode Aderinola
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., (*1)
composer require bayodesegun/wordpress-oo-nonces "~1.0.0"
composer require bayodesegun/wordpress-oo-nonces "dev-master"
From any part of WordPress, instantiate a new WP_OO_Nonces
class: $nonce = new WP_OO_Nonces();
, (*2)
Access the usual Nonce functions via the instance variable, dropping the wp_
prefix where present. For example to use the wp_nonce_url()
function, do something like: $out = $nonce->nonce_url(admin_url());
, (*3)
WordPress Object-Oriented Nonces
MIT
WordPress Object-Oriented Nonces
MIT