回答編集履歴

1

間違いを修正

2022/03/08 06:33

投稿

PlugOut777
PlugOut777

スコア917

test CHANGED
@@ -1,2 +1,2 @@
1
1
  > add_action( 'wp_print_script', 'add_script' );
2
- hookに指定するのは[wp_print_script]ではなく[wp_enqueue_scripts]ではないですか?
2
+ hookに指定するのは[wp_print_script]ではなく[wp_print_scripts]ではないですか?