PHP code example of wearerequired / wp-requirements-check
1. Go to this page and download the library: Download wearerequired/wp-requirements-check 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/ */
wearerequired / wp-requirements-check example snippets
$ 'title' => 'My awesome plugin',
'php' => '7.0',
'wp' => '4.7',
'file' => __FILE__,
'i18n' => array(
/* translators: 1: plugin name. 2: minimum PHP version. */
'php' => __( '“%1$s” sses() ) {
// Proceed.
}