When i submit my options, in the Theme Options page of my custom theme, it saves also empty text fields.
E.G.:
sample_theme_options => array(
text_field_1 = '',
text_field_2 = 'blah blah'
)
How can I filter text fields, deleting empty ones?
array_filter( $array );to get rid of empty/false/null values. – kaiser Sep 25 '12 at 1:18