Created
November 9, 2021 09:26
-
-
Save dhimaskirana/350bac1c97916982c68bc7ac238da8c8 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: Belajar Plugin | |
* Plugin URI: https://www.dhimaskirana.com/ | |
* Description: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec pharetra vehicula quam. Sed blandit lobortis sem sit amet egestas. Suspendisse posuere cursus vehicula. | |
* Version: 1.0 | |
* Requires at least: 5.2 | |
* Requires PHP: 7.2 | |
* Author: Dhimas Kirana | |
* Author URI: https://www.dhimaskirana.com/ | |
* License: GPL v2 or later | |
* License URI: https://www.gnu.org/licenses/gpl-2.0.html | |
* Text Domain: belajarplugin | |
* Domain Path: /languages | |
*/ | |
function fungsi_menampilkan_tanggal() { | |
echo '<p style="text-align:center;">Tanggal <strong>'.date('j F Y').'</strong></p>'; | |
} | |
add_action('wp_footer', 'fungsi_menampilkan_tanggal'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment