\x20\40\x20\40 HEX
HEX
Server: Apache
System: Linux web1.jenscom.net 4.18.0-553.111.1.el8_10.x86_64 #1 SMP Sun Mar 8 20:06:07 EDT 2026 x86_64
User: sps (1059)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: /home/sps/www/wp-content/plugins/nextgen-gallery/src/WPCLI/Manager.php
<?php

namespace Imagely\NGG\WPCLI;

/**
 * WP-CLI command manager for NextGEN Gallery.
 *
 * Registers and manages WP-CLI commands for NextGEN Gallery operations.
 */
class Manager {

	/**
	 * Registers all NextGEN Gallery WP-CLI commands.
	 */
	public static function register() {
		/**
		 * Add album command.
		 *
		 * @noinspection PhpUndefinedClassInspection
		 */
		\WP_CLI::add_command( 'ngg album', '\Imagely\NGG\WPCLI\Album' );

		/**
		 * Add cache command.
		 *
		 * @noinspection PhpUndefinedClassInspection
		 */
		\WP_CLI::add_command( 'ngg cache', '\Imagely\NGG\WPCLI\Cache' );

		/**
		 * Add gallery command.
		 *
		 * @noinspection PhpUndefinedClassInspection
		 */
		\WP_CLI::add_command( 'ngg gallery', '\Imagely\NGG\WPCLI\Gallery' );

		/**
		 * Add image command.
		 *
		 * @noinspection PhpUndefinedClassInspection
		 */
		\WP_CLI::add_command( 'ngg image', '\Imagely\NGG\WPCLI\Image' );

		/**
		 * Add notifications command.
		 *
		 * @noinspection PhpUndefinedClassInspection
		 */
		\WP_CLI::add_command( 'ngg notifications', '\Imagely\NGG\WPCLI\Notifications' );

		/**
		 * Add settings command.
		 *
		 * @noinspection PhpUndefinedClassInspection
		 */
		\WP_CLI::add_command( 'ngg settings', '\Imagely\NGG\WPCLI\Settings' );
	}
}