$mods['header_image'], 'data' => null ); if ( ! empty( $mods['header_image_data'] ) ) { $info['data'] = $mods['header_image_data']; } return $info; } return false; } /* This function determines whether or not the user is displaying the header on the current theme */ function minileven_header_text_display() { $theme_slug = minileven_actual_current_theme(); $mods = get_option( "theme_mods_{$theme_slug}" ); if ( isset( $mods['header_textcolor'] ) ) return $mods['header_textcolor']; return false; } /* This function determines how the header should be displayed. */ function minileven_header() { $image_info = minileven_get_header_image_info(); $header_text = minileven_header_text_display(); if ( 'blank' != $header_text || false != $image_info ) : ?>