0,
'page' => 0,
'category' => 0,
'post_tag' => 0,
);
$t_posts = $t_pages = $t_cats = $t_tags = 0;
foreach ( $inactive_content as $language => $ic ) {
$inactive_content_data[ $language ] = array(
'post' => 0,
'page' => 0,
'category' => 0,
'post_tag' => 0,
);
if ( array_key_exists( 'post', $ic ) ) {
$inactive_content_data[ $language ]['post'] += (int) $ic['post'];
$inactive_content_totals['post'] += (int) $ic['post'];
}
if ( array_key_exists( 'page', $ic ) ) {
$inactive_content_data[ $language ]['page'] += (int) $ic['page'];
$inactive_content_totals['page'] += (int) $ic['page'];
}
if ( array_key_exists( 'category', $ic ) ) {
$inactive_content_data[ $language ]['category'] += (int) $ic['category'];
$inactive_content_totals['category'] += (int) $ic['category'];
}
if ( array_key_exists( 'post_tag', $ic ) ) {
$inactive_content_data[ $language ]['post_tag'] += (int) $ic['post_tag'];
$inactive_content_totals['post_tag'] += (int) $ic['post_tag'];
}
}
?>