Created
February 11, 2024 09:43
-
-
Save ernilambar/e8d8dce57e58b37f714eaf8941412356 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: Foo Single | |
* Plugin URI: https://example.com | |
* Description: Custom plugin. | |
* Version: 1.0.0 | |
* Author: Nilambar Sharma | |
* Author URI: https://asdf.com | |
* License: GPL-2.0+ | |
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt | |
*/ | |
add_action( | |
'init', | |
function () { | |
$number = mt_rand( 10, 100 ); | |
echo $number; | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment