Rename in more places
This commit is contained in:
@ -10,7 +10,7 @@
|
||||
defined('ABSPATH') || exit;
|
||||
|
||||
/**
|
||||
* Get all the currencies we use in WP Ultimo
|
||||
* Get all the currencies we use in WP Multisite WaaS
|
||||
*
|
||||
* @return array Return the currencies array.
|
||||
*/
|
||||
@ -270,7 +270,7 @@ function wu_format_currency($value, $currency = null, $format = null, $thousands
|
||||
} // end wu_format_currency;
|
||||
|
||||
/**
|
||||
* Determines if WP Ultimo is using a zero-decimal currency.
|
||||
* Determines if WP Multisite WaaS is using a zero-decimal currency.
|
||||
*
|
||||
* @param string $currency The currency code to check.
|
||||
*
|
||||
|
@ -36,7 +36,7 @@ function wu_get_main_site_upload_dir() {
|
||||
} // end wu_get_main_site_upload_dir;
|
||||
|
||||
/**
|
||||
* Creates a WP Ultimo folder inside the uploads folder - if needed - and return its path.
|
||||
* Creates a WP Multisite WaaS folder inside the uploads folder - if needed - and return its path.
|
||||
*
|
||||
* @since 2.0.11
|
||||
*
|
||||
|
@ -13,7 +13,7 @@ use \WP_Ultimo\Exception\Runtime_Exception;
|
||||
use \WP_Ultimo\Dependencies\Psr\Log\LogLevel;
|
||||
|
||||
/**
|
||||
* Returns the WP Ultimo version.
|
||||
* Returns the WP Multisite WaaS version.
|
||||
*
|
||||
* @since 2.0.0
|
||||
* @return string
|
||||
@ -37,7 +37,7 @@ function wu_is_debug() {
|
||||
} // end wu_is_debug;
|
||||
|
||||
/**
|
||||
* Checks if WP Ultimo is being loaded as a must-use plugin.
|
||||
* Checks if WP Multisite WaaS is being loaded as a must-use plugin.
|
||||
*
|
||||
* @since 2.0.0
|
||||
* @return bool
|
||||
|
@ -52,7 +52,7 @@ function wu_no_cache() {
|
||||
} // end wu_no_cache;
|
||||
|
||||
/**
|
||||
* Maybe sends a WP Ultimo X Header.
|
||||
* Maybe sends a WP Multisite WaaS X Header.
|
||||
*
|
||||
* Useful for debugging purposes.
|
||||
* These headers can easily be omitted by
|
||||
|
@ -413,7 +413,7 @@ function wu_print_signup_field($field_slug, $field, $results) {
|
||||
|
||||
} // end wu_print_signup_field;
|
||||
/**
|
||||
* Alias function to allow creation of users for WP Ultimo.
|
||||
* Alias function to allow creation of users for WP Multisite WaaS.
|
||||
*
|
||||
* User Data should contain: user_login, user_email, user_pass;
|
||||
* Plan Data should contain: plan_id, plan_freq;
|
||||
@ -431,7 +431,7 @@ function wu_create_user(array $user_data, array $plan_data, array $user_meta = a
|
||||
} // end wu_create_user;
|
||||
|
||||
/**
|
||||
* Alias function to allow creation of sites for WP Ultimo.
|
||||
* Alias function to allow creation of sites for WP Multisite WaaS.
|
||||
*
|
||||
* Site Data should contain: blog_title, blogname, and role;
|
||||
* Site Meta is an associative array containing key => value pairs to be saved as meta fields on that site.
|
||||
|
@ -15,7 +15,7 @@ defined('ABSPATH') || exit;
|
||||
require_once wu_path('inc/functions/options.php');
|
||||
|
||||
/**
|
||||
* Returns an array with all the WP Ultimo settings.
|
||||
* Returns an array with all the WP Multisite WaaS settings.
|
||||
*
|
||||
* @since 2.0.0
|
||||
* @return array
|
||||
|
@ -12,7 +12,7 @@ defined('ABSPATH') || exit;
|
||||
use \WP_Ultimo\Tax\Tax;
|
||||
|
||||
/**
|
||||
* Checks if WP Ultimo should collect taxes.
|
||||
* Checks if WP Multisite WaaS should collect taxes.
|
||||
*
|
||||
* @since 2.0.0
|
||||
* @return bool
|
||||
|
@ -43,7 +43,7 @@ function wu_get_template($view, $args = array(), $default_view = false) {
|
||||
* Allows developers to add additional folders to the replaceable list.
|
||||
*
|
||||
* Be careful, as allowing additional folders might cause
|
||||
* out-of-date copies to be loaded instead of the WP Ultimo versions.
|
||||
* out-of-date copies to be loaded instead of the WP Multisite WaaS versions.
|
||||
*
|
||||
* @since 2.0.0
|
||||
* @param array $replaceable_views List of allowed folders.
|
||||
|
@ -46,11 +46,11 @@ function wu_replace_scheme($url, $new_scheme = '') {
|
||||
} // end wu_replace_scheme;
|
||||
|
||||
/**
|
||||
* Wrapper to the network_admin_url function for WP Ultimo admin urls.
|
||||
* Wrapper to the network_admin_url function for WP Multisite WaaS admin urls.
|
||||
*
|
||||
* @since 2.0.0
|
||||
*
|
||||
* @param string $path WP Ultimo page.
|
||||
* @param string $path WP Multisite WaaS page.
|
||||
* @param array $query URL query parameters.
|
||||
* @return string
|
||||
*/
|
||||
|
@ -28,7 +28,7 @@ function wu_get_roles_as_options($add_default_option = false) {
|
||||
|
||||
if ($add_default_option) {
|
||||
|
||||
$roles['default'] = __('Use WP Ultimo default', 'wp-ultimo');
|
||||
$roles['default'] = __('Use WP Multisite WaaS default', 'wp-ultimo');
|
||||
|
||||
} // end if;
|
||||
|
||||
|
Reference in New Issue
Block a user