Skip to content

rhamoudi/inpsyde

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

inpsyde


A composer package, which serves the functionality working with WordPress Nonce


Installation with composer

This SDK uses composer.

Composer is a tool for dependency management in PHP. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you.

For more information on how to use/install composer, please visit: https://github.com/composer/composer

To install the package into your project, simply

$ composer require rhamoudi/inpsyde

Requirements

Php versions 7.0 and newer.

Quick start and examples

$context = new WPNonceContext;
$nonce_value = $context->createNonce('test_nonce');

Available Methods

$context = new WPNonceContext;

$context->createNonce('test_nonce1')
    ->changeAction('test_nonce')
    ->changeErrors(true)
    ->errorMessage('Your WordPress Nonce is not valid');

Get Action

    ->action();

Get Errors

    ->errors();

Get ErrorMessage

    ->errorMessage();

About

A composer package, which serves the functionality working with WordPress Nonce

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages