import { blocksAttributes } from '@Attributes/getBlocksDefaultAttributes'; import { applyFilters } from '@wordpress/hooks'; // Parameters for these methods: // currentValue - The variable/attribute that is altered by settings. // key - The key of the default attribute for that setting. // blockName - The name of the block. const getAttributeFallback = ( currentValue, key, blockName ) => { const allBlocksAttributes = applyFilters( 'uagb.blocksAttributes', blocksAttributes ); return currentValue ? currentValue : allBlocksAttributes[ blockName ][ key ].default; } export const getFallbackNumber = ( currentValue, key, blockName ) => { const allBlocksAttributes = applyFilters( 'uagb.blocksAttributes', blocksAttributes ); return isNaN( currentValue ) ? allBlocksAttributes[ blockName ][ key ].default : currentValue; } export default getAttributeFallback; {"id":2213,"date":"2023-09-21T17:45:09","date_gmt":"2023-09-21T17:45:09","guid":{"rendered":"https:\/\/febracistocantins.com.br\/?page_id=2213"},"modified":"2023-10-10T12:41:12","modified_gmt":"2023-10-10T12:41:12","slug":"yout","status":"publish","type":"page","link":"https:\/\/febracistocantins.com.br\/yout\/","title":{"rendered":"Power Business – YouTube"},"content":{"rendered":"\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
<\/div>\n\t\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"\"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t
\n\t\t\t
\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\n\t\t\t\t\t\t<\/span>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"\"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t

O maior treinamento presencial de neg\u00f3cios j\u00e1 realizado no Tocantins com Paulo Vieira! <\/h1>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\t

E, para expandir sua transforma\u00e7\u00e3o, aprofunde-se no treinamento presencial com Camila Vieira.<\/p>

Lembre-se: s\u00f3 realiza grandes coisas quem vive sua real identidade!<\/strong><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t

\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"\"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t
\n\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\n\t\t\t\n\t\t\t\n\n\t\t\t\n\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t