Auto-generate a unique random string and set it to post_name. Customization with hooks Use of filter hooks is at your own risk.
As of April 2026, Random Post Name is a WordPress post plugin with 10 active installations and a 0/5 rating0. It has been downloaded 943 times in total. Requires WordPress 5.4+ and PHP 7.1.24+. Available on WordPress.org since 2020. Last updated 5 years ago — may have compatibility concerns. Top alternative: Header and Footer Scripts.
Auto-generate a unique random string and set it to post_name.
Use of filter hooks is at your own risk.
add_filter( 'random_post_name_post_types', 'hoge' );
function hoge(){
return ['post', 'page'];
}
add_filter( 'random_post_name_digits', 'hoge' );
function hoge(){
return 20;
}
add_filter( 'random_post_name_choices', 'hoge' );
function hoge(){
return '0123456789abcdefghijkmnpqrstuvwxyz_-';
}
Too few characters and too few character va…
| WordPress | 5.4+ requiredTested up to 5.4.19 |
| PHP | 7.1.24+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.