Customize > Custom CSS. * * @param array $output The HTML of the post meta items to be rendered. * * @return array The updated items. */ function custom_modify_post_meta_items( $output ) { // Remove icons $output = array_map( function( $item ) { return preg_replace( '/]*>.*?<\/i>/', '', $item ); }, $output ); $count = 0; $new_output = []; // Add slashes as divider foreach ( $output as $key => $value ) { if ( $count > 0 ) { $new_output[ $key . '_slash' ] = '|'; } $new_output[ $key ] = $value; $count++; } // Continue filter return $new_output; }