Skip to content

Instantly share code, notes, and snippets.

@gatespace
Last active June 7, 2017 11:02
Show Gist options
  • Save gatespace/9966808 to your computer and use it in GitHub Desktop.
Save gatespace/9966808 to your computer and use it in GitHub Desktop.
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