Download the PHP package unax/helper without Composer
On this page you can find all versions of the php package unax/helper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package helper
WP Helper Class
The Helper class provides utilities for WordPress plugin development including logging, email functionality, form generation, encryption, and admin notices.
Installation & Initialization
Configuration
Configure the Helper class by setting properties before calling config():
Logging
Basic Logging
Email Functionality
Send Email
Admin Notices
Add Admin Notices
Frontend Notices
Form Generation
Labels and Inputs
Dropdowns and Radio Buttons
Form Validation
Field Validation
Prepare Form Fields
Security
Nonce Handling
Google reCAPTCHA
Encryption/Decryption
Date Formatting
Configuration Properties
| Property | Default | Description |
|---|---|---|
$text_domain |
'unax-helper' | Plugin text domain for translations |
$administrator_email |
'' | Admin email (falls back to WP admin_email) |
$reply_to |
'no-reply@localhost' | Default reply-to email address |
$wp_mail_content_type |
'text/html' | WordPress mail content type |
$passphrase |
'passphrase' | Encryption passphrase |
$cipher_algo |
'aes-256-ctr' | OpenSSL cipher algorithm |
$logs_dir |
'' | Custom logs directory path |
$log_threshold |
'info' | Minimum log level to record |
$log_prefix |
'helper' | Log file prefix |
Error Handling
The Helper class includes comprehensive error handling:
- Logging initialization errors
- Email sending failures
- Encryption/decryption errors
- Form validation errors
- reCAPTCHA verification errors
All errors are logged using the configured logger and appropriate error messages are returned to the calling code.
All versions of helper with dependencies
PHP Build Version
Package Version
The package unax/helper contains the following files
Loading the files please wait ...