Skip to content

Instantly share code, notes, and snippets.

@ko31
Created October 26, 2019 06:35
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
[Simple Slug Translate] Customize translated post statuses.
/**
* Customize translated post statuses.
*/
add_filter( 'simple_slug_translate_post_status', function( $statuses ) {
// Specify post statuses
$statuses = [
'draft',
'publish',
];
return $statuses;
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment