File "class-paths.php"
Full Path: /home/jlklyejr/public_html/wp-content-20241030122153/plugins/woocommerce/vendor/automattic/jetpack-status/src/class-paths.php
File size: 544 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
/**
* A Path & URL utility class for Jetpack.
*
* @package automattic/jetpack-status
*/
namespace Automattic\Jetpack;
/**
* Class Automattic\Jetpack\Paths
*
* Used to retrieve information about files.
*/
class Paths {
/**
* Jetpack Admin URL.
*
* @param array $args Query string args.
*
* @return string Jetpack admin URL.
*/
public function admin_url( $args = null ) {
$args = wp_parse_args( $args, array( 'page' => 'jetpack' ) );
$url = add_query_arg( $args, admin_url( 'admin.php' ) );
return $url;
}
}