//***********************************************
//***********************************************
//********** HEADERA AREA IN WORDPRESS **********
//***********************************************
//***********************************************
add_action('wp_head', 'custom_header_code');
function custom_header_code() {
  ?>

  <!----- DISABLE CACHING OF PAGES----->
  <meta http-equiv="cache-control" content="max-age=0" />
  <meta http-equiv="cache-control" content="no-cache" />
  <meta http-equiv="expires" content="0" />
  <meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
  <meta http-equiv="pragma" content="no-cache" />

  <?php
}
Feel free to comment if you can add help to this page or point out issues and solutions you have found. I do not provide support on this site, if you need help with a problem head over to stack overflow.

Comments

Your email address will not be published. Required fields are marked *