Skip to content

Instantly share code, notes, and snippets.

@gatespace

gatespace/gist:9966808

Last active Jun 7, 2017
Embed
What would you like to do?
WordPress で Bogo を使った多言語サイトでのカスタム投稿タイプ http://qiita.com/gatespace/items/75e70f5ae162c2962dcc
add_filter('bogo_localizable_post_types', 'my_localizable_post_types', 10, 1);
function my_localizable_post_types($localizable) {
$localizable[] = 'custom_post_type_name';
return $localizable;
}
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.