$value = array_map( 'esc_attr', (array) $value );
Bill Erickson
Bill Erickson is the co-founder and lead developer at CultivateWP, a WordPress agency focusing on high performance sites for web publishers.
About MeReady 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…
Custom recipe templates for WP Recipe Maker
October 7, 2019
I frequently work with food bloggers to improve the design, speed, and functionality of their websites. The recipe card is the most important element on the page. It should be…
Custom importer for WP Recipe Maker
October 21, 2019
A detailed guide to importing recipes from *any* theme or plugin to WP Recipe Maker.
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…