PHP code example of nldx / wp-plugin-update-checker-class

1. Go to this page and download the library: Download nldx/wp-plugin-update-checker-class 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/ */

    

nldx / wp-plugin-update-checker-class example snippets



define( 'NLDX_BOOTSTRAP_BLOCKS_VERSION', '1.0.0' );
define( 'NLDX_BOOTSTRAP_BLOCKS_FILE', __FILE__ );
define( 'NLDX_BOOTSTRAP_BLOCKS_DIR', plugin_dir_path( __FILE__ ) );
define( 'NLDX_BOOTSTRAP_BLOCKS_SLUG', dirname ( plugin_basename( __FILE__ ) ) );
define( 'NLDX_BOOTSTRAP_BLOCKS_INFO', 'https://example.domain.com/example-plugin/info.json');

/**
 * Include classes.
 */
 
if ( !class_exists( \NLDX\UpdateChecker::class ) ) {