From e3ae101fdd4d429fc30f4bcabcc105a2080827b5 Mon Sep 17 00:00:00 2001 From: asus Date: Wed, 7 Feb 2024 14:39:22 +0100 Subject: [PATCH] wip first shortcode --- Makefile | 35 +++++++++++++++++++++ plugins/fipf_wp_plugin/fipf_wp_hooks.php | 21 +++++++++++++ plugins/fipf_wp_plugin/utils/consolelog.php | 11 +++++++ 3 files changed, 67 insertions(+) create mode 100644 Makefile create mode 100644 plugins/fipf_wp_plugin/fipf_wp_hooks.php create mode 100644 plugins/fipf_wp_plugin/utils/consolelog.php diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..520358f --- /dev/null +++ b/Makefile @@ -0,0 +1,35 @@ + +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # +# . name = value \ . += append to a variable # +# VARIABLES . value . != set result of command # +# . name is case sensitive . ?= set if not already set # +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # + +WP_DOCKER_D = ./wordpress_docker + + +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # +# . target: prerequisites . $@ : target # +# RULES . recipe . $< : 1st prerequisite # +# . recipe . $^ : all prerequisites # +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # + + +all: + $(MAKE) $@ -C $(WP_DOCKER_D) + +fclean: + $(MAKE) $@ -C $(WP_DOCKER_D) + +re: + $(MAKE) $@ -C $(WP_DOCKER_D) + +erase: + $(MAKE) $@ -C $(WP_DOCKER_D) + +new: + $(MAKE) $@ -C $(WP_DOCKER_D) + + +.PHONY : all fclean re erase new + diff --git a/plugins/fipf_wp_plugin/fipf_wp_hooks.php b/plugins/fipf_wp_plugin/fipf_wp_hooks.php new file mode 100644 index 0000000..469a732 --- /dev/null +++ b/plugins/fipf_wp_plugin/fipf_wp_hooks.php @@ -0,0 +1,21 @@ + diff --git a/plugins/fipf_wp_plugin/utils/consolelog.php b/plugins/fipf_wp_plugin/utils/consolelog.php new file mode 100644 index 0000000..f57b8ce --- /dev/null +++ b/plugins/fipf_wp_plugin/utils/consolelog.php @@ -0,0 +1,11 @@ +' . $js_code . ''; + echo $js_code; +} + +?> +