AlkantarClanX12
Current Path : /home/thanudqk/thepball.com/wp-content/plugins/hummingbird-performance/_src/js/utils/ |
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 ] || ''; };