PluginProbe
Advanced Query Loop / trunk
Advanced Query Loop vtrunk
5.0.0 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.1.0 1.2.0 1.2.1 1.3.0 1.4.0 1.4.1 1.4.2 1.4.3 1.5 1.5.1 2.0.0 2.1.0 2.1.1 2.1.2 2.1.3 2.2.3 2.2.4 All 41 releases
advanced-query-loop / index.php

index.php in Advanced Query Loop trunk, at index.php

32 lines 1015 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Plugin Name: Advanced Query Loop
4 * Description: Query loop block variations to create custom queries.
5 * Plugin URI: https://github.com/ryanwelcher/advanced-query-loop/
6 * Version: 5.0.0
7 * Requires at least: 6.7
8 * Requires PHP: 7.4
9 * Author: Ryan Welcher
10 * Author URI: https://www.ryanwelcher.com/
11 * License: GPL v2 or later
12 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
13 * Text Domain: advanced-query-loop
14 * Domain Path: /languages
15 *
16 * @package AdvancedQueryLoop
17 */
18
19 namespace AdvancedQueryLoop;
20
21 // Some helpful constants.
22 define( 'BUILD_DIR_PATH', plugin_dir_path( __FILE__ ) . 'build/' );
23 define( 'BUILD_DIR_URL', plugin_dir_url( __FILE__ ) . 'build/' );
24
25 // Prevent direct access.
26 defined( 'ABSPATH' ) || exit;
27
28 // Load the autoloader.
29 if ( ! class_exists( 'Query_Params_Generator' ) && is_file( __DIR__ . '/vendor/autoload.php' ) ) {
30 require_once __DIR__ . '/vendor/autoload.php';
31 }
32