Server IP : 172.67.158.161 / Your IP : 13.59.27.141 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/giankuin/dietcontrungnhanh.com/wp-content/plugins/ithemes-security-pro/pro/wp-cli/ |
Upload File : |
<?php /** * Access the static map image API. */ class ITSEC_Map_Command extends WP_CLI_Command { /** * Get a map of a Lat/Long coordinate. * * ## OPTIONS * * --lat=<lat> * : The latitude coordinate. * * --long=<long> * : The longitude coordinate. * * [--<field>=<value>] * : Additional configuration options. */ public function get( $args, $assoc_args ) { $map = ITSEC_Lib_Static_Map_API::get_map( $assoc_args ); if ( is_wp_error( $map ) ) { WP_CLI::error( $map ); } WP_CLI::success( 'Retrieved Map: ' . $map ); } } WP_CLI::add_command( 'itsec map', 'ITSEC_Map_Command', array( 'before_invoke' => function () { require_once( ITSEC_Core::get_core_dir() . 'lib/class-itsec-lib-static-map-api.php' ); } ) );