File "wfRESTAPI.php"

Full Path: /home/rrterraplen/public_html/wp-content-20241221212636/plugins/wordfence/lib/wfRESTAPI.php
File size: 377 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
if (defined('ABSPATH')) {
class wfWP_REST_Users_Controller extends WP_REST_Users_Controller
{
	public static function wfGetURLBase() {
		$controller = new wfWP_REST_Users_Controller();
		return rtrim($controller->namespace . '/' . $controller->rest_base, '/');
	}
	
	public function _wfGetURLBase() {
		return rtrim($this->namespace, '/' . $this->rest_base, '/');
	}
}
}