Generating dynamic css into custom file [closed] July 6, 2022 by Tarik Billa look a the ‘Using a Hook’ on here: WP Codex