📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-21 09:23:43
📂
/ (Root)
/
home
/
xeqi7597
/
cds.claireduwig.com
/
wp-content
/
plugins
/
generateblocks
/
src
/
utils
/
get-attribute
📍 /home/xeqi7597/cds.claireduwig.com/wp-content/plugins/generateblocks/src/utils/get-attribute
🔄 Refresh
✏️
Editing: index.js
Writable
export default function getAttribute( name, props, getName = false ) { const { attributes, deviceType, } = props; const device = 'Desktop' === deviceType ? '' : deviceType; const attributeName = name + device; if ( getName ) { return attributeName; } return attributes[ attributeName ] ?? ''; }
💾 Save Changes
❌ Cancel