This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
programmieren:php:require_all_files_from_folder [2019/08/19 19:08] – created jgehrke | programmieren:php:require_all_files_from_folder [2022/12/17 12:28] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 22: | Line 22: | ||
} | } | ||
+ | </ | ||
+ | |||
+ | ===== Beispielanwendung in Wordpress ===== | ||
+ | |||
+ | So nutze ich es in Wordpress in der '' | ||
+ | |||
+ | <code php> | ||
+ | /* ******************* *\ | ||
+ | * | ||
+ | | ||
+ | * | ||
+ | \* ******************* */ | ||
+ | |||
+ | require_once ' | ||
+ | |||
+ | |||
+ | |||
+ | /* ******************* *\ | ||
+ | * | ||
+ | | ||
+ | * | ||
+ | \* ******************* */ | ||
+ | |||
+ | // | ||
+ | require_all_files( ' | ||
+ | require_all_files( ' | ||
+ | |||
+ | |||
+ | |||
+ | /* ******************* *\ | ||
+ | * | ||
+ | | ||
+ | * | ||
+ | \* ******************* */ | ||
+ | |||
+ | // Hier sind alle Files drin, wie theme_support, | ||
+ | require_all_files( ' | ||
+ | |||
+ | |||
+ | |||
+ | /* ******************* *\ | ||
+ | * | ||
+ | | ||
+ | * | ||
+ | \* ******************* */ | ||
+ | |||
+ | // Hier allgemeine Funktionen drin, die Files heißen | ||
+ | // wie die Funktion die man in Ihr findet | ||
+ | require_all_files( ' | ||
+ | </ | ||
- | < |