laipower/wp-content/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-waf/cli.php

14 lines
324 B
PHP
Raw Normal View History

<?php
/**
* Registers the CLI functionality.
*
* @package automattic/jetpack-waf
*/
namespace Automattic\Jetpack\Waf;
if ( defined( 'WP_CLI' ) && \WP_CLI ) {
// @phan-suppress-next-line PhanUndeclaredFunctionInCallable -- https://github.com/phan/phan/issues/4763
\WP_CLI::add_command( 'jetpack-waf', CLI::class );
}