PHP code example of wp-launchpad / options

1. Go to this page and download the library: Download wp-launchpad/options library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

wp-launchpad / options example snippets


$options = new \LaunchpadOptions\Options('my_prefix');

$options = new \LaunchpadOptions\SiteOptions('my_prefix');

$transients = new \LaunchpadOptions\Transients('my_prefix');

$settings = new \LaunchpadOptions\Settings(new \LaunchpadOptions\Options('my_prefix'), 'my_settings_prefix');

$set = new \LaunchpadOptions\Set([
    'key' => 'value'
], 'my_prefix');