Created by Michael Visser 2016-07-04 View revision File functions.php Added Side-by-side diff More Ignore whitespace Hide word diff +<?php +function custom_woo_ce_format_post_status( $output = '', $post_status = '' ) { + + if( $post_status == 'publish' ) + $output = 'p'; + else if( $post_status == 'draft' ) + $output = 'd'; + return $output; + +} +add_filter( 'woo_ce_format_post_status', 'custom_woo_ce_format_post_status', 10, 2 ); +?>