Skip to content

Instantly share code, notes, and snippets.

@luiseduardobraschi
Created August 18, 2021 23:35
Show Gist options
  • Save luiseduardobraschi/d7268df9fcb098714422fa333e1fb28a to your computer and use it in GitHub Desktop.
Save luiseduardobraschi/d7268df9fcb098714422fa333e1fb28a to your computer and use it in GitHub Desktop.
Permitir que etiquetas sejam geradas e status customizados.
<?php
// Adicionar status permitido para gerar etiquetas.
add_filter( 'arti_me_labels_generation_allowed_statuses', function( $statuses ){
$statuses[] = 'id_do_seu_status';
// $statuses[] = 'id_de_outro_status';
return $statuses;
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment