| 开发者 | coffee2code |
|---|---|
| 更新时间 | 2024年8月14日 06:15 |
| 捐献地址: | 去捐款 |
| PHP版本: | 2.8 及以上 |
| WordPress版本: | 6.6 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
<?php echo c2c_random_file( '/random' ); ?>$extensions argument), all files in the specified $dir will be under consideration for random selectionrandom-file.zip inside the plugins directory for your site (typically wp-content/plugins/)c2c_random_file() or c2c_random_files() template function in your code or template (see examples below).No. This plugin only selects a random file when the page is loaded. Once loaded, it does not currently add any dynamic functionality to automatically retrieve another random file on its own.
Yes. The tests are not packaged in the release .zip file or included in plugins.svn.wordpress.org, but can be found in the plugin's GitHub repository.
wp_rand() for more reliable randomization$extensions argument to also accept an array of extensionssprintf() approach to outputting markupreadme.txt.gitignore filebootstrap.phpcomposer.json for PHPUnit Polyfill dependencyphpunit/ into tests/phpunit/bin into tests/