$value = array_map( 'esc_attr', (array) $value );
Bill Erickson is the co-founder and lead developer at CultivateWP, a WordPress agency focusing on high performance sites for web publishers.About Me
Ready to upgrade your website?
I build custom WordPress websites that look great and are easy to manage.
Other articles in this series
A starter theme for building Hybrid WordPress Themes
May 29, 2023
A hybrid WordPress theme uses theme.json to define styles and customize the block editor while also using traditional PHP template files. Hybrid themes leverage the block editor for content but…
How to Setup ConvertKit with a WordPress Form
April 13, 2017
Integrate ConvertKit and WPForms easily connects forms on your website to your ConvertKit email marketing account, enabling you to capture more leads and manage campaigns more effectively. WPForms‘ simple drag-and-drop form builder allows…
How to remove core WordPress blocks
June 25, 2020
While I try to support all the core blocks in the themes I build, sometimes it makes sense to remove a few. Typically it’s because I built a custom block…
Building a block with Advanced Custom Fields
November 19, 2018
Custom blocks make the new WordPress block editor even more powerful. ACF lets you build Gutenberg blocks fast, efficiently, and with PHP.