2017 © Pedro Peláez
 

library wp-nonces-oop

OOP implementation of WP Nonces

image

stepanov/wp-nonces-oop

OOP implementation of WP Nonces

  • Monday, April 2, 2018
  • by stepanov
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

OOP WP Nonces Generator

About

Generates WP nonces in OOP manner, (*1)

Installation

Composer

Install generator globally:, (*2)

composer global require "stepanov/wp-nonces-oop=*"

To add to your project:, (*3)

{
    "require": {
        "stepanov/wp-nonces-oop": "1.*"
    }
}

Usage

$nonce = new WpNonces();

$urlNonce = $nonce->createNonceUrl([
    'url' => 'http://example.com',
    'action' => 'some_action'
]);

$plainNonce = $nonce->createNoncePlain([
    'action' => 'some_action'
])

$fieldNonce = $nonce->createNonceField([
    'action' => 'some_action'
]);

The Versions

02/04 2018

dev-master

9999999-dev http://stepanoff.org

OOP implementation of WP Nonces

  Sources   Download

MIT

The Development Requires

wordpress oop nonces

02/04 2018

v1.0.0

1.0.0.0 http://stepanoff.org

OOP implementation of WP Nonces

  Sources   Download

MIT

The Development Requires

wordpress oop nonces