Skip to content

Instantly share code, notes, and snippets.

@ko31

ko31/functions.php

Created Oct 26, 2019
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
You can’t perform that action at this time.