2017 © Pedro Peláez
 

wordpress-plugin wordpress-oo-nonces

WordPress Object-Oriented Nonces

image

bayodesegun/wordpress-oo-nonces

WordPress Object-Oriented Nonces

  • Wednesday, August 30, 2017
  • by bayodesegun
  • Repository
  • 1 Watchers
  • 0 Stars
  • 17 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

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)

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 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)

The Versions

30/08 2017

dev-master

9999999-dev

WordPress Object-Oriented Nonces

  Sources   Download

MIT

The Requires

 

by Bayode Aderinola

30/08 2017

1.0.0

1.0.0.0

WordPress Object-Oriented Nonces

  Sources   Download

MIT

The Requires

 

by Bayode Aderinola