![functions - Why get_header() or get_footer() does not run twice if called in the same php file? - WordPress Development Stack Exchange functions - Why get_header() or get_footer() does not run twice if called in the same php file? - WordPress Development Stack Exchange](https://i.stack.imgur.com/sfk0b.png)
functions - Why get_header() or get_footer() does not run twice if called in the same php file? - WordPress Development Stack Exchange
![If calling PHP function(s) once, is there a potential risk that it will run twice? I am experiencing this at the moment and can't find anything wrong in my code. Do you If calling PHP function(s) once, is there a potential risk that it will run twice? I am experiencing this at the moment and can't find anything wrong in my code. Do you](https://qph.cf2.quoracdn.net/main-thumb-3491890-200-cRkbtcNggcxW4wqjyoJWoXUmvEBJ2Gte.jpeg)
If calling PHP function(s) once, is there a potential risk that it will run twice? I am experiencing this at the moment and can't find anything wrong in my code. Do you
![functions - Why get_header() or get_footer() does not run twice if called in the same php file? - WordPress Development Stack Exchange functions - Why get_header() or get_footer() does not run twice if called in the same php file? - WordPress Development Stack Exchange](https://i.stack.imgur.com/BhaEb.png)