AlkantarClanX12

Your IP : 18.119.192.2


Current Path : /home/thanudqk/thepball.com/wp-content/plugins/hummingbird-performance/_src/js/utils/
Upload File :
Current File : //home/thanudqk/thepball.com/wp-content/plugins/hummingbird-performance/_src/js/utils/helpers.js

/* global wphb */

/**
 * Strings internationalization
 *
 * @param {string} str
 * @return {*|string} String
 */
export const getString = ( str ) => {
	return wphb.strings[ str ] || '';
};

/**
 * Get a link to a HB screen
 *
 * @param {string} screen Screen slug
 * @return {string} URL
 */
export const getLink = ( screen ) => {
	return wphb.links[ screen ] || '';
};