Method | Description | |
---|---|---|
__construct ( ) : WPDKAjax | Create an instance of WPDKAjax class | |
add ( string $method, callback $callable, boolean $nopriv = false ) | Useful static method to add an action ajax hook | |
registerActions ( ) | Register the allow ajax method in WordPress environment |
Method | Description | |
---|---|---|
actions ( ) : array | Return the array list with allowed method. This is a Key value pairs array with value for not signin user ajax method allowed. |
public __construct ( ) : WPDKAjax | ||
return | WPDKAjax |
public registerActions ( ) |