Skip to content

Improving Available Services

Compare
Choose a tag to compare
@lipemat lipemat released this 02 May 17:59
· 1103 commits to master since this release

Introducing a new Zip service for generating cached .zip files. It accepts an array of file URLS and a name for the .zip file. When complete, it serves the zip to the browser. Can also be used as an api endpoint when sending a validation key.

use Lipe\Lib\Util\Zip;
Zip::in()->build_zip( [ $url, $url ], $zip_name );

Introducing a new class for adding public query vars or the deprecated filter param to wp-json requests. Simply init the class and the rest happens automatically for all existing post types with the rest api enabled.

use Lipe\Lib\Rest_Api\Query_Vars;
Query_Vars::init();

Greatly improved the Db Schema.