{"id":122965,"date":"2020-06-12T11:01:00","date_gmt":"2020-06-12T11:01:00","guid":{"rendered":"https:\/\/ja.wordpress.org\/plugins\/random-post-name\/"},"modified":"2020-06-12T11:13:01","modified_gmt":"2020-06-12T11:13:01","slug":"random-post-name","status":"publish","type":"plugin","link":"https:\/\/azb.wordpress.org\/plugins\/random-post-name\/","author":16456268,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0","stable_tag":"trunk","tested":"5.4.19","requires":"5.4","requires_php":"7.1.24","requires_plugins":"","header_name":"Random Post Name","header_author":"PRESSMAN","header_description":"Auto-generate a unique random string and set it to post_name.","assets_banners_color":"","last_updated":"2020-06-12 11:13:01","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/random-post-name\/","header_author_uri":"https:\/\/www.pressman.ne.jp\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":943,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["installation","changelog","description"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[86,18913,162598,187067,561],"plugin_category":[],"plugin_contributors":[161901,163177,163534,162599],"plugin_business_model":[],"class_list":["post-122965","plugin","type-plugin","status-publish","hentry","plugin_tags-post","plugin_tags-post_name","plugin_tags-pressman","plugin_tags-ramdom","plugin_tags-slug","plugin_contributors-hiroshisekiguchi","plugin_contributors-kazunao","plugin_contributors-muraokashotaro","plugin_contributors-pressmaninc","plugin_committers-pressmaninc"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/random-post-name.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=installation-->\n<ol>\n<li>Upload the plugin package to the plugins directory.<\/li>\n<li>Activate the plugin through the \\'Plugins\\' menu in WordPress.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>first version.<\/li>\n<\/ul>\n\n<!--section=description-->\n<p>Auto-generate a unique random string and set it to post_name.<\/p>\n\n<h4>Customization with hooks<\/h4>\n\n<p>Use of filter hooks is at your own risk.<\/p>\n\n<ul>\n<li>You can change post_type to be applied by an array. Deafult is 'post' only.<\/li>\n<\/ul>\n\n<pre>\nadd_filter( 'random_post_name_post_types', 'hoge' );\nfunction hoge(){\n    return ['post', 'page'];\n}\n<\/pre>\n\n<ul>\n<li>You can change the number of characters in the post_name. Deafult is 10.<\/li>\n<\/ul>\n\n<pre>\nadd_filter( 'random_post_name_digits', 'hoge' );\nfunction hoge(){\n    return 20;\n}\n<\/pre>\n\n<ul>\n<li>You can change the variation of characters. Deafult is '0123456789abcdefghijklmnopqrstuvwxyz'. Do not include multibyte chars.<\/li>\n<\/ul>\n\n<pre>\nadd_filter( 'random_post_name_choices', 'hoge' );\nfunction hoge(){\n    return '0123456789abcdefghijkmnpqrstuvwxyz_-';\n}\n<\/pre>\n\n<h3>Precautions<\/h3>\n\n<p>Too few characters and too few character variations can cause unexpected problems.<\/p>","raw_excerpt":"Auto-generate a unique random string and set it to post_name. Customization with hooks Use of filter hooks is at your own risk.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/122965","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=122965"}],"author":[{"embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/pressmaninc"}],"wp:attachment":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=122965"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=122965"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=122965"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=122965"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=122965"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=122965"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}