विवरण
Auto-generate a unique random string and set it to post_name.
Customization with hooks
Use of filter hooks is at your own risk.
- You can change post_type to be applied by an array. Deafult is ‘post’ only.
add_filter( 'random_post_name_post_types', 'hoge' ); function hoge(){ return ['post', 'page']; }
- You can change the number of characters in the post_name. Deafult is 10.
add_filter( 'random_post_name_digits', 'hoge' ); function hoge(){ return 20; }
- You can change the variation of characters. Deafult is ‘0123456789abcdefghijklmnopqrstuvwxyz’. Do not include multibyte chars.
add_filter( 'random_post_name_choices', 'hoge' ); function hoge(){ return '0123456789abcdefghijkmnpqrstuvwxyz_-'; }
Precautions
Too few characters and too few character variations can cause unexpected problems.
स्थापना
- Upload the plugin package to the plugins directory.
- Activate the plugin through the \’Plugins\’ menu in WordPress.
समीक्षाहरू
यस प्लगिनको लागि कुनै समीक्षाहरू छैनन्।
योगदानकर्ता र डेभलपरहरू
“Random Post Name” खुला स्रोत सफ्टवेयर हो। निम्न व्यक्तिहरूले यो प्लगिनमा योगदान गरेका छन्।
योगदानकर्ताहरू“Random Post Name” लाई आफ्नो भाषामा अनुवाद गर्नुहोस्
विकासमा रुचि छ?
आरएसएस द्वारा कोड ब्राउज गर्नुहोस्, एसभीएन रिपजिटरी हेर्नुहोस्, वा विकास लग को सदस्यता लिनुहोस्।
चेन्जलग
1.0
- first version.