estado
if ( ! function_exists('estado_productos') ) {
// Register Custom Status
function estado_productos() {
$args = array(
'label' => _x( 'Completado', 'Status General Name', 'translate_estado_productos' ),
'label_count' => _n_noop( 'Completado (%s)', 'Completados (%s)', 'translate_estado_productos' ),
'public' => true,
'show_in_admin_all_list' => true,
'show_in_admin_status_list' => true,
'exclude_from_search' => false,
);
register_post_status( 'Completado', $args );
}
add_action( 'init', 'estado_productos', 0 );
}