Download the PHP package codemascot/metabox without Composer
On this page you can find all versions of the php package codemascot/metabox. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download codemascot/metabox
More information about codemascot/metabox
Files in codemascot/metabox
Package metabox
Short Description This is a Composer library package to make easier the process of creating metabox for WordPress.
License MIT
Informations about the package metabox
CodeMascot MetaBox
This is a Composer library package to enhance the usage of WordPress metabox API.
Table Of Contents
- Coding styles and technique
- Installation
- Usage
- Crafted by Khan
- License
- Contributing
Coding styles and technique
- All input data escaped and validated.
- Developed as Composer package.
- YODA condition checked.
- Maintained Right Margin carefully. Usually that is 80 characters.
- Used
true
,false
andnull
in stead ofTRUE
,FALSE
andNULL
. - INDENTATION: TABS has been used in stead of SPACES.
- PHP Codesniffer checked.
- WordPress VIP coding standard followed mostly.
Requirements
- WordPress >= 3.8.0 (Tested)
- PHP >= 5.6
- Composer Package Manager
Installation
The best way to use this package is through Composer:
Usage
Step 1
First we need to prepare the arguments like below-
Step 2
Now you need to call the MetaBox
class like below-
Data Sanitization & Validation
You can use codeamscot_metabox_api_data_filter
for sanitizing and validating input through this package. It has two arguments, one is $data
and another is $field_id
.
Crafted by Khan
I'm Khan AKA CodeMascot a professional web developer and I crafted this package for my personal use. Feel free to use this for your projects too.
License
Copyright (c) 2018 Khan M Rashedun-Naby, CodeMascot
Good news, this library is free for everyone! Since it's released under the MIT License you can use it free of charge on your personal or commercial website.
Contribution
All feedback / bug reports / pull requests are welcome.