Sooner or later, every plugin developers will likely want to store user data. Since Typesetter doesn't use a database, saving and retrieving data is easily accomplished with two functions.
global $addonPathData; $file = $addonPathData.'/data.php'; //saving data $data = array('your'=>'array','of'=>'data'); if( !gpFiles::SaveData($file, 'data', $data) ){ //... warn user data didn't save } //retrieve stored data $data = gpFiles::Get($file,'data');
SaveData() and Get() are both available as of Typesetter 4.4
A new release for Typesetter is in the works with a lot of improvements including the ... Read More
Typesetter 5.1Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More
More NewsFind out more about our Provider Spotlight
What CMS: Find out what CMS a site is using.
Who Hosts This: Find out who is hosting any web site
WordPress Theme Detect: Find out which theme a WordPress site is using