PHP code example of alleyinteractive / wp-alleyvate

1. Go to this page and download the library: Download alleyinteractive/wp-alleyvate 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/ */

    

alleyinteractive / wp-alleyvate example snippets


add_filter( 'alleyvate_load_disable_comments', '__return_false' );

// An example.
$query = new WP_Query(
  [
    'paged' => 102,
    '__dangerously_set_max_pages' => 150,
  ]
);