Last active
October 25, 2023 02:03
-
-
Save kurudrive/c166f1e77d7a30e5734c5d212d50b74b to your computer and use it in GitHub Desktop.
wp-head にコードを追加する
This file contains hidden or 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: My Plugin | |
* Plugin URI: | |
* Description: これは *** のプラグインです。 | |
* Version: 0.0.0 | |
* Requires at least: 6.0 | |
* Requires PHP: 7.4 | |
* License: GPL 2.0 or Later | |
* | |
*/ | |
function my_add_head(){ ?> | |
<!-- ここに追加したいコードを記載 --> | |
<?php | |
} | |
add_action('wp_head', 'my_add_head'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment